Mercurial > index.cgi > dotfiles
diff .ssh/config @ 265:df0b24d4fabd
Think I'm ready to check this all in now; shared dotfiles that can be "sent"
through an SSH connection to be used and cleaned up when finished.
author | Steve Huston <huston@srhuston.net> |
---|---|
date | Wed, 24 Apr 2024 16:15:40 -0400 |
parents | bb69763716a7 |
children | 5140712f8bd6 |
line wrap: on
line diff
--- a/.ssh/config Thu Apr 18 13:37:00 2024 -0400 +++ b/.ssh/config Wed Apr 24 16:15:40 2024 -0400 @@ -22,21 +22,21 @@ # If we're not on Princeton wired network, and not at home, then connections # to joshua should tunnel through xanadu -Match host joshua.srhuston.net exec "~/.ssh/onsubnet --not 128.112. && [[ `curl -s checkip.amazonaws.com` != 100.11.40.19 ]]" +Match host joshua.srhuston.net exec "~/.ssh/onsubnet --not 128.112. && ~/.ssh/athome --not" ProxyJump xanadu.astro.princeton.edu # But if we *are* home, convert joshua into its internal IP address -Match host joshua.srhuston.net exec "test `curl -s checkip.amazonaws.com` == 100.11.40.19" +Match host joshua.srhuston.net exec "~/.ssh/athome" HostName 192.168.7.49 # Some "local" hosts, rather than configuring DNS or hosts files -Match host milton exec "test `curl -s checkip.amazonaws.com` == 100.11.40.19" +Match host milton exec "~/.ssh/athome" HostName 192.168.7.56 -Match host syrinx exec "test `curl -s checkip.amazonaws.com` == 100.11.40.19" +Match host syrinx exec "~/.ssh/athome" HostName 192.168.7.109 -Match host aprs exec "test `curl -s checkip.amazonaws.com` == 100.11.40.19" +Match host aprs exec "~/.ssh/athome" HostName 192.168.7.57 User pi