X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=blobdiff_plain;f=.ssh%2Fconfig;h=e058c79f7197e5a283b3e30443c90d8e73cb0d27;hp=23c5c568f2f11d8f149d30c28c5d1d4a26261082;hb=3d1de2ab9e5d962342095f6dcfb3aee7cc23e4cd;hpb=dea00760a95d6209ff11f1dec7eb979e500f5c1f diff --git a/.ssh/config b/.ssh/config index 23c5c56..e058c79 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,8 +1,10 @@ -ControlMaster auto -ControlPath ~/tmp/%h_%p_%r 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 @@ -30,22 +32,26 @@ Host zeto CheckHostIP no IdentityFile ~/.ssh/identity_don # donarmstrong machines so I don't have to type them in -Host archimedes.ucr.edu +Host archimedes.ucr.edu dn-archimedes.donarmstrong.com User don UserKnownHostsFile ~/.ssh/known_hosts_don IdentityFile ~/.ssh/identity_don -Host rzlab3.ucr.edu + ControlPath ~/tmp/archimedes_%p_%r +Host rzlab3.ucr.edu dn-rzlab3.donarmstrong.com User don UserKnownHostsFile ~/.ssh/known_hosts_don IdentityFile ~/.ssh/identity_don -Host rzlab.ucr.edu + ControlPath ~/tmp/rzlab3_%p_%r +Host rzlab.ucr.edu dn-rzlab.donarmstrong.com svn.donarmstrong.com User don UserKnownHostsFile ~/.ssh/known_hosts_don IdentityFile ~/.ssh/identity_don -Host spth1304.ucr.edu + ControlPath ~/tmp/rzlab_%p_%r +Host spth1304.ucr.edu dn-spth1304.donarmstrong.com User don UserKnownHostsFile ~/.ssh/known_hosts_don IdentityFile ~/.ssh/identity_don + ControlPath ~/tmp/spth1304.ucr.edu_%p_%r Host *.donarmstrong.com User don UserKnownHostsFile ~/.ssh/known_hosts_don @@ -106,3 +112,9 @@ Host lists.acbnrates.com Host debbugs.gnu.org User don IdentityFile ~/.ssh/identity_debbugs_gnu + +# This has to go at the bottom, because it doesn't get overridden +# otherwise. +Host * + ControlMaster auto + ControlPath ~/tmp/%h_%p_%r