From 2599106c6e784d7e59b21e6880db3d853df5f188 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 22 Aug 2006 11:04:29 +0200 Subject: [PATCH] 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. --- ressh.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 ressh.sh diff --git a/ressh.sh b/ressh.sh new file mode 100755 index 0000000..29cdde7 --- /dev/null +++ b/ressh.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# +# Nico Schottelius +# Date: 21-Aug-2006 +# Last Modified: - +# + +while true; do + ssh "$@" + read foo +done