Noob here. I removed all the files from my /Users/fakename/.shh
folder. The result is that now I can't git clone a repository from beanstalk. When I try I get the error Failed to add the host to the list of known hosts Permission denied (public key)
. I am also having problems doing a SSH login into an EC2 instance on Amazon Web Services.
What would be the steps to get things back to normal?
EDIT 1
I am currently trying to generate a new rsa key pair, but getting the following:
open /Users/fake-name/.ssh/id_rsa failed: Permission denied.
Saving the key failed: /Users/fake-name/.ssh/id_rsa.