- Set up public key authentication
Note: the ssh-add2 program must be started as a child process of the ssh-agent2 program.
- Start ssh-agent2 by issuing either of the following commands:
exec ssh-agent $SHELL or
- Add your identity to ssh-agent2 by issuing the following command:
ssh-add2 /path/to/private-key-filename for example:
- Enter the pass phrase of your private key.
You are now ready to connect to remote host computers using the private key you just added without the need to supply the private key pass phrase
Dec 29 '10 at 19:39
SSH KB ♦