From: Don Armstrong Date: Sat, 23 Jan 2010 21:28:32 +0000 (+0000) Subject: * add rule to connect to rietz from anywhere via archimedes X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=commitdiff_plain;h=3d1de2ab9e5d962342095f6dcfb3aee7cc23e4cd;hp=3518c58806285a154fb7b28aa1527decf59fdd94 * add rule to connect to rietz from anywhere via archimedes --- diff --git a/.ssh/config b/.ssh/config index bc7a4fe..e058c79 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,6 +1,10 @@ Host frogsleap.com User frogsleap IdentityFile ~/.ssh/identity_frogsleap +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;' Host *.debian.org IdentityFile ~/.ssh/identity_debian UserKnownHostsFile ~/.ssh/known_hosts_debian