I am SSHing into my Amazon EC2 instance on a daily basis. In order to do so I have to provide the private key. I have used ssh-add <private key>
, and then it works!
However. Once in a while I have to repeat the ssh-add
step because it seems like the key has gone missing on the same computer. This is very annoying, and it seems to happen at random.
Is this a known issue? How do I solve it?
I am using Fedora 17, Zsh and SSH version OpenSSH_5.9p1.
ssh-add -l
? Could be a permission issue on the parent directory.