Noob在这里。我从/Users/fakename/.shh
文件夹中删除了所有文件。结果是现在我无法从beanstalk克隆存储库。当我尝试时,我收到错误Failed to add the host to the list of known hosts Permission denied (public key)
。我也无法在Amazon Web Services上登录到EC2实例。
让事情恢复正常的步骤是什么?
编辑1
我目前正在尝试生成一个新的rsa密钥对,但获得以下内容:
open /Users/fake-name/.ssh/id_rsa failed: Permission denied.
Saving the key failed: /Users/fake-name/.ssh/id_rsa.