|
|
A script to set SSH proxy based on network location
That's a very interesting idea. I usually just go with different SSH hosts from
~/.ssh/config. Your method has the advantage of allowing script to use a single connection setting and of automatically detecting proxies. I normally use Corkscrew for tunneling ssh through the proxy. I'm not so sure anymore, but iirc there is an easier method for grabbing the current proxy server. On a side note, netcat is pre-installed by default:
$ whereis ncI'll give this a shot when I get a bit of a time! Funny bit of Unix history... The nc utility, a "damn useful little backend utility" begun 95/09/15 or thereabouts, as ∗Hobbit∗'s first real stab at some sockets programming. Something that should have and indeed may have existed ten years ago, but never became a standard Unix utility. IMHO, nc could take its place right next to cat, cp, rm, mv, dd, ls, and all those other cryptic and Unix-likethings.- NC's man page --- |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|