Permission denied (publickey).

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.

原文地址:https://www.cnblogs.com/ron123/p/5551551.html