News for hackers. Stuff that matters.
Re:Cool stuff you can do with netcat by roadnottaken on Friday November 05, 2010 @12:34PM (#1873814)
Interesting. Thanks for the tip! I'd never heard of ssh host hopping, but have been doing 2-3 sequential ssh logins for years. I always wondered if this was possible somehow! I found this nice tutorial that explains your tip in detail:

http://sshmenu.sourceforge.net/articles/transparent-mulithop...

This made all the time I've spent on HN in the past week worthwhile! :)

Re:Cool stuff you can do with netcat by thristian on Saturday November 06, 2010 @02:50AM (#1876360)
At $EMPLOYER, I have a script that takes a description of the network topology, converts it to a sequence of Host stanzas and writes them to ~/.ssh/config. The source file is simple enough that the sysad team can keep it up-to-date when they change the network configuration, and most people just have to run the 'update' script occasionally to have Super SSH Powers. It's quite popular.
Re:Cool stuff you can do with netcat by roadnottaken on Saturday November 06, 2010 @10:25AM (#1876924)
Don't suppose you'd be willing to post this uber-script somewhere?
Re:Cool stuff you can do with netcat by thristian on Tuesday November 09, 2010 @12:22AM (#1885455)
Unfortunately it's not really self-contained enough to post; the most complicated thing in it is basically a copy/paste of the "Dijkstra's Algorithm" sample-code on Wikipedia, though.