How to set up SSH agent to avoid retyping passwords
$ ssh-agent bash
$ ssh-add ~/.ssh/id_rsa
$ ssh-add ~/.ssh/id_rsa
or
$ ssh-add #to add default keys
You can also add the private key file:
$ ssh-agent bash
$ ssh-add ~/.ssh/goyun.inof.keypair.pem
$ ssh-agent bash
$ ssh-add ~/.ssh/goyun.inof.keypair.pem
Comments
Post a Comment