From f9aab717aa2c3a71872d3d9ba90391932a293283 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 10 Jan 2012 09:07:01 +0100 Subject: [PATCH] reset terminal after dead ssh session Signed-off-by: Nico Schottelius --- ressh.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ressh.sh b/ressh.sh index 29cdde7..69b4493 100755 --- a/ressh.sh +++ b/ressh.sh @@ -6,6 +6,7 @@ # while true; do - ssh "$@" - read foo + ssh "$@" + read foo + reset done