Files
2021-09-01 17:03:54 -04:00

8 lines
132 B
Bash
Executable File

#!/bin/bash
if [[ "$(ssh-add -l)" =~ "no identities" ]]; then
ssh-add $HOME/.ssh/joshs_key </dev/null
fi
exec /usr/bin/ssh "$@"