script which automatically starts an ssh-agent and loads provided keys
- Place the script 'startAgent.sh' into your
$HOME/.ssh
directory - Replace the paths to the dummy keys in L6 - L8 with your ssh keys
- call it with
source $HOME/.ssh/startAgent.sh
from your$HOME/.bash_profile
,$HOME/.bashrc
,$HOME/.zprofile
, ... file
The provided ssh keys will get loaded automatically whenever you open a terminal session.