#-------------------------------------------------------------------------------- # Run an SSH agent, if possible #-------------------------------------------------------------------------------- # Check if we already have an agent running and sourced if [ -z "${SSH_AUTH_SOCK}" ]; then eval $(ssh-agent) ssh-add fi #--------------------------------------------------------------------------------