6 ms·
Try my fugly script, http://cmad.github.com/sshfu/ http://cmad.github.com/sshfu/ you can do imports for example, and things like inside public_place or home {
by carlosantelo 14y ago
Try my fugly script, http://cmad.github.com/sshfu/ 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
- newman314 14y agoI 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.
- darkarmani 14y agoOn 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.