]> git.donarmstrong.com Git - home-base.git/blobdiff - .ssh/config
* add rule to connect to rietz from anywhere via archimedes
[home-base.git] / .ssh / config
index bc7a4fea7e2a912ffe619669b417f7dbe471c97e..e058c79f7197e5a283b3e30443c90d8e73cb0d27 100644 (file)
@@ -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