SSH-AGENT-KEEPALIVE – A bash_profile mod that cacches agent env for reuse
github.com
github.com
I was tired of dealing with the pain of ssh-agent so I wrote some bash scripting that caches the agent environment, kills any extra uncached agents and automatically "attaches" to the cached environment so you don't have to type your ssh key passphrases in over and over.
Feel free to contribute, also feel free to talk trash :)
https://en.m.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexin...
It creates a control socket that lasts up to x minutes after your last session closes, so for me, all day + 15 minutes, which then new connections go over instead of re-athenticating.
Many places disable it for "security" reasons.