A bash script that autoloads the ssh-agent and keys into each terminal session of a workstation, significantly reducing the complexity of using ssh-agent.
-
Install to $HOME/.ssh directory as agent.sh
curl -o .ssh/agent.sh http://www.tnpi.net/computing/mac/agent.sh.txt chmod 755 .ssh/agent.sh
-
Run it when new terminal windows open
echo 'source .ssh/agent.sh' >> ~/.bash_profile
-
Open new terminal/shell sessions
-
Enjoy