I'm considering using a tool to setup my ssh-agent environment so I only need to enter my ssh key once.
What is the difference between ssh-ident and keychain? Does one have advantages over the other?
Please look at this answer over on the Unix Stack Exchange site: https://unix.stackexchange.com/a/90869
ssh-ident is an utility that can manage ssh-agent on your behalf and load identities as necessary. It adds keys only once as they are needed, regardless of how many terminals, SSH or login sessions that require access to an SSH agent.
keychain is a small utility which manages ssh-agent on your behalf and allows the SSH agent to remain running when the login session ends. On subsequent logins, keychain will connect to the existing SSH agent instance.
keychainorssh-ident. Why not to use standardgnome-keyring(preinstalled and configured in Ubuntu) or directlyssh-agent? They do everything you require from them ("I only need to enter my ssh key once."). – Jakuje Dec 07 '16 at 20:09ssh-agentonly applies to sub-processes. The two mentioned programsallow you to easily have one long running ssh-agent process per system, rather than the norm of one ssh-agent per login session.(From here). Wouldgnome-keyringsolve this issue? – Tom Hale Dec 07 '16 at 22:42SSH_AUTH_SOCKis the raison d'être of the two tools I mention. – Tom Hale Dec 09 '16 at 02:41[ -z "$SSH_AUTH_SOCK" ] && eval \ssh-agent -s` && ssh-add `. The two listed tools address these issues. – Tom Hale Dec 10 '16 at 03:52X, but it is true generally true for most users. – Tom Hale Dec 12 '16 at 00:39