;;
esac
+## Check that this stands a chance of working.
+if ! type >/dev/null 2>&1 ssh-agent || ! type >/dev/null >&1 ssh-add; then
+ echo >&2 "$0: ssh not installed; chickening out"
+ exit 1
+fi
+
## Some useful variables.
hostname=${HOST-$(hostname)}
user=${USER-${LOGNAME-$(id -un)}} uid=${UID-$(id -u)}