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:
parent
4576d0e730
commit
2599106c6e
1 changed files with 11 additions and 0 deletions
11
ressh.sh
Executable file
11
ressh.sh
Executable 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
|
Loading…
Reference in a new issue