Linux Today: Linux News On Internet Time.

More Fun With SSH

Feb 19, 2009, 09:02 (0 Talkback[s])
(Other stories by Juliet Kemp)

"SSH keys and ssh-add are useful to minimize password-typing. But you don't necessarily want to use the same key for all the machines you log onto, which requires more typing, to -i keyfile on the command line. Alternatively, you can set the identify file per host with a section like this in your ~/.ssh/config file:

"Host ssh.example.com
IdentityFile ~/.ssh/example_id_rsa"

Complete Story

Related Stories: