首页 > 技术文章 > Permission denied (publickey).

ron123 2016-06-01 23:49 原文

On most systems the default private keys (~/.ssh/id_rsa~/.ssh/id_dsa and ~/.ssh/identity) are automatically added to the SSH authentication agent. You shouldn't need to run ssh-add path/to/key unless you override the file name when you generate a key.

推荐阅读