在不询问密码的情况下制作ssh。我尝试以下1(关键)仍有待安装
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
它显示我以下错误:
在不询问密码的情况下制作ssh。我尝试以下1(关键)仍有待安装
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
它显示我以下错误:
尝试运行 “SSH-增加” 客户端PC上。它应该解决问题。
基本上为什么它的原因(从here引用):
ssh-add
adds RSA or DSA identities to the authentication agent,ssh-agent(1)
. When run without arguments, it adds the files~/.ssh/id_rsa
,~/.ssh/id_dsa
and~/.ssh/identity
.
It shows me the following error:
没有错误。它说它将你的密钥复制到服务器上。
是的,但*为什么*这会解决问题?请记住,你不仅要回答海报,还要回答未来的读者。 – FrankerZ
ssh-add将RSA或DSA身份添加到身份验证代理ssh-agent(1)。当运行时没有参数时,它会添加文件〜/ .ssh/id_rsa,〜/ .ssh/id_dsa和〜/ .ssh/identity。 (来自http://linux.die.net/man/1/ssh-add) – Shantanu
你应该[编辑]你的答案,并包含这些信息。 – FrankerZ