Using ssh_config Match to connect to a host using multiple IP or Hostnames
My main computer is a MacBook Pro from 2017, but I have some servers laying around and one other laptop connected at home with ArchLinux installed that I use mainly for development. I connect to it remotely either directly using a SSH/Mosh + Tmux + Emacs/Vim combination, or using the pretty convenient VSCode Remote Extensions when I’m not feeling much of a hacker.
Thing is, I may access this computer either from my home network directly if I’m at home or via a SDN if I am not (at the office, coffeeshop, visiting family, etc).





