2016-08-11 17 views

回答

0

尝试运行 “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 .

+0

是的,但*为什么*这会解决问题?请记住,你不仅要回答海报,还要回答未来的读者。 – FrankerZ

+0

ssh-add将RSA或DSA身份添加到身份验证代理ssh-agent(1)。当运行时没有参数时,它会添加文件〜/ .ssh/id_rsa,〜/ .ssh/id_dsa和〜/ .ssh/identity。 (来自http://linux.die.net/man/1/ssh-add) – Shantanu

+0

你应该[编辑]你的答案,并包含这些信息。 – FrankerZ

0

It shows me the following error:

没有错误。它说它将你的密钥复制到服务器上。