Re:Simplify your life with an SSH config file
by newman314 on Sunday October 21, 2012 @07:16PM
(#4681152)
I really wish this was an as-shipped feature with OpenSSH. Even if it is the config file being able to have multiple Hostnames to try for a Host.
That way I can just specify two hostnames/IP addresses to try and ssh can automagically do the right to to get to an internal machine depending if I am at home or work.
Re:Simplify your life with an SSH config file
by darkarmani on Tuesday October 23, 2012 @11:55AM
(#4688660)
On a Mac I used to use Marco Polo to detect my location and it would change my symlinks to ~/.ssh/config. You can use Marco Polo to detect SSIDs or various other changes.
inside public_place or home { host web address 192.168.10.1 gw office_fw } otherwise { host web address 192.168.10.1 user $MY_USER }
or whatever like host .... agent yes port 8