ssh-add -l >/dev/null if [[ $? -eq 1 ]] then ssh-add fi