Ssh-agent help

I’m trying to get my ssh-agent and keys set up so that when I boot up, I only need to enter my passphrase once. However it appears that Terminal only recognizes ssh-agent instances that were opened in that session. When I open a new Terminal, I have to start a new ssh-agent using eval `ssh-agent`
This results in having to enter my key passphrase every time I open a terminal and creates a mess of ssh-agent instances running in the background that don’t close themselves when I close a Terminal window.

I use keychain to manage ssh-agent across terminal sessions. I don’t use a passphrase though, my keys are stored in a KeePass database. I don’t think that should be a problem though.

1 Like

Ah the folly of getting used to systems that do all this stuff by default. I think that did the trick.