[PLUG] Using ssh-agent and ssh-add

Rich Shepard rshepard at appl-ecosys.com
Thu Mar 30 23:01:06 UTC 2017


On Thu, 30 Mar 2017, Steve Dum wrote:

> If you're using neither of these window management systems, there is a
> tool called Keychain, that provides the same sort of service. You invoke
> keychain in your .login (or other appropriate startup script) with a mode
> setting and list of public keys, and it takes care of the rest.

Steve,

   Perhaps Xfce4 has a keychain.

> The gnome and kde solutions are designed to terminate the agent when you log 
> off.

   Killing the ssh-agent PID can be done in ~/.bash_logout. Heh! I just
checked that file on my server/workstation and I added ssh-agent kill many
years ago. Not sure if it's on the other hosts, though.

> All three of these solutions (and your adding ssh-agent and ssh-add to
> your .bash_login script) have the same effect. When you log in you get
> prompted once for a passwd. The first three delay the prompt until you
> actually try to use ssh.

   Which works for me as I normally work on only one host while in the
office.

Thanks,

Rich



More information about the PLUG mailing list