遇到这个问题是权限的问题,将你的私钥文件修改成600就ok了
$ ssh-keygen -R ec2-192-168-1-1.compute-1.amazonaws.com This method is good if you don't want to manually alter theknown_hostsfile yourself, and the utility is easier to use if you have multiple hostnames and IP addresses to fix. It can also handle hashed hostnames in aknown_ho...