Continuisly ssh to a host: Useful for using irc over ssh

with a notebook, that moves around and looses its ip and gets a new one.
This commit is contained in:
Nico Schottelius 2006-08-22 11:04:29 +02:00
parent 4576d0e730
commit 2599106c6e
1 changed files with 11 additions and 0 deletions

11
ressh.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# Nico Schottelius <nico-linux //@// schottelius.org>
# Date: 21-Aug-2006
# Last Modified: -
#
while true; do
ssh "$@"
read foo
done