mars/testing/make-ssh.sh
2013-01-23 20:05:37 +01:00

12 lines
173 B
Bash
Executable File

#!/bin/bash
#
# login ...
if [ "$1" = "" ]; then
echo "Host unknown ...."
echo "(use short hostname bap2/bs1/lxa2 ...)"
exit
fi
while true; do ssh -A $1; sleep 2; done