10 lines
406 B
Plaintext
10 lines
406 B
Plaintext
#--------------------------------------------------------------------------------
|
|
# 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
|
|
#--------------------------------------------------------------------------------
|