8 lines
132 B
Bash
Executable File
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 "$@"
|