Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Magicrafter13
· 2mo ago · 0 comments
oh wow, how can your ssh config change based on the network you're using?
Comments
[–]
Meneth
2mo ago
ssh_config allows several ways to execute arbitrary shell commands, such as "Match exec" and "ProxyCommand". Specify a program that can detect networks and choose different connections. Then the config file itself wouldn't change.