News for hackers. Stuff that matters.
Re:Simplify your life with an SSH config file by grobot on Sunday October 21, 2012 @02:16AM (#4679140)
I find myself wishing ~/.ssh/config had include statements, so I could mix and match blocks which are only useful on certain networks / in certain contexts.
Re:Simplify your life with an SSH config file by carlosantelo on Sunday October 21, 2012 @08:08AM (#4679520)
Try my fugly script, http://cmad.github.com/sshfu/ you can do imports for example, and things like

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

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.