From b4e20e5a091b2d939ffd174c05bef35d84790d7a Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 4 May 2010 18:30:52 +0000 Subject: [PATCH] == in equality is a bashism --- .ssh/config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ssh/config b/.ssh/config index 68b9b42..726bebb 100644 --- a/.ssh/config +++ b/.ssh/config @@ -4,7 +4,11 @@ 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 -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;' + 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 busoni.debian.org + IdentityFile ~/.ssh/identity_debian + UserKnownHostsFile ~/.ssh/known_hosts_debian + ProxyCommand sh -c 'if [ "$(hostname)" = "archimedes" ]; then exec nc -q 1:0 busoni.debian.org 22 2>/dev/null; else exec ssh archimedes.ucr.edu nc -q 1:0 busoni.debian.org 22 2>/dev/null; fi;' Host *.debian.org IdentityFile ~/.ssh/identity_debian UserKnownHostsFile ~/.ssh/known_hosts_debian -- 2.39.2