From: Don Armstrong Date: Tue, 4 May 2010 18:30:52 +0000 (+0000) Subject: == in equality is a bashism X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=commitdiff_plain;h=b4e20e5a091b2d939ffd174c05bef35d84790d7a == in equality is a bashism --- 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