[TriLUG] Public Key Authentication with SSH

Aaron S. Joyner aaron at joyner.ws
Thu Jan 26 10:59:46 EST 2006


Matt Pusateri wrote:

>On the local host you need to use ssh-add to add your key to your
>keystore for that login session.
>
>Also look into keychain as it will allow you to cache keys across
>logins.  http://www.gentoo.org/proj/en/keychain/
>  
>
This is only necessary if you password protected the key.  This is of
course a good idea, but depending on your requirements for the scripting
host may not be practical.  You can start ssh-agent once, and it will
stay running as long as the machine does, but should you loose power or
the box get bounced for some reason, you'll need to log in and run
ssh-agent again before your automated scripts will succeed.

Aaron S. Joyner



More information about the TriLUG mailing list