From d2940f5c39d8eb07287c38034dbd309e0b7adb64 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 5 Feb 2010 18:29:41 +0000 Subject: [PATCH] * set a local timeout when calling nc --- .ssh/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ssh/config b/.ssh/config index 669daea..68b9b42 100644 --- a/.ssh/config +++ b/.ssh/config @@ -4,7 +4,7 @@ Host frogsleap.com Host rietz.debian.org IdentityFile ~/.ssh/identity_debian UserKnownHostsFile ~/.ssh/known_hosts_debian - ProxyCommand sh -c 'if [ $(hostname) == "archimedes" ]; then exec nc rietz.debian.org 22 2>/dev/null; else exec ssh archimedes.ucr.edu nc rietz.debian.org 22 2>/dev/null; fi;' + ProxyCommand sh -c 'if [ $(hostname) == "archimedes" ]; then exec nc -q 1:0 rietz.debian.org 22 2>/dev/null; else exec ssh archimedes.ucr.edu nc -q 1:0 rietz.debian.org 22 2>/dev/null; fi;' Host *.debian.org IdentityFile ~/.ssh/identity_debian UserKnownHostsFile ~/.ssh/known_hosts_debian -- 2.39.2