jeudi 26 février 2015

Do I have to start the ssh authentication agent every time I log in to EC2

I have noticed that I when I log into my EC2 instance, I have to start the authentication agent and then add my private key to ssh before I can pull code into my instance. Is there a better way to do this than typing:


eval "$ssh-agent" ssh-add path-to-my-private-key


Seems like I am either doing this wrong or dont have the easiest way to do it.


Many thanks, Mark





Aucun commentaire:

Enregistrer un commentaire