Linux System Administration
SSH - Secure Shell
SSH-Add
Next we need to run
ssh-add
.
This will load all of the keys in the
~/.ssh
directory.
[mlevan@Hamming ~]$ ssh-add
Enter passphrase for /home/mlevan/.ssh/id_rsa:
Identity added: /home/mlevan/.ssh/id_rsa (/home/mlevan/.ssh/id_rsa)
[mlevan@Hamming ~]$
We can now log into any of the SSH hosts without entering a passphrase.
[mlevan@Hamming ~]$ ssh mlevan@12.222.238.XXX
Last login: Mon May 16 22:59:35 2005 from 198.94.186.XXX
[mlevan@HomePC ~]$
To shut down ssh-agent, simply exit out of the ssh-agent shell.
Prev
Page 15
Next