* tweak proxycommand slightly
authorDon Armstrong <don@donarmstrong.com>
Sun, 24 Jan 2010 09:22:03 +0000 (09:22 +0000)
committerDon Armstrong <don@donarmstrong.com>
Sun, 24 Jan 2010 09:22:03 +0000 (09:22 +0000)
.ssh/config

index e058c79..3913460 100644 (file)
@@ -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 nc rietz.debian.org 22 2>/dev/null; else ssh archimedes.ucr.edu nc rietz.debian.org 22 2>/dev/null; fi;'
+  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;'
 Host *.debian.org
   IdentityFile ~/.ssh/identity_debian
   UserKnownHostsFile ~/.ssh/known_hosts_debian