diff options
Diffstat (limited to 'afssh')
-rwxr-xr-x | afssh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -31,6 +31,11 @@ usage () { exit } +if ! ssh-add -l > /dev/null; then + echo "no keys in your ssh-agent or ssh-agent not running" >&2 + exit 1 +fi + declare -a agent_filter_args if [ -x "${BASH_SOURCE%/*}/ssh-agent-filter" ]; then |