Re:Using SSH_config Match to connect to a host using multipl...
by HvTfMhdTZ8Lths6 on Wednesday August 17, 2022 @08:09PM
(#32503522)
PS: I decided to go write up how I just use the same IPs everywhere with OpenVPN.
https://docs.google.com/document/d/1u9mGu7bv5JYL_Fvv0L7OX4_1...
Worth noting that I actually just use split-horizon DNS for my personal VPN though. Telling Unbound this is a lot easier (and still works with stuff that isn't SSH):
local-zone: "mydomain.com." transparent
local-data: "foo.mydomain.com. A 10.0.0.4"
Match is extremely useful though. It's in use on a few systems I control to allow password authentication from certain subnets.