News for hackers. Stuff that matters.
Re:SSH Tricks by dotBen on Sunday September 18, 2011 @11:20PM (#3012086)
Ok, not techically part of SSH itself but I think SShuttle[1] is one of the most awesome SSH tricks around.

[1] https://github.com/apenwarr/sshuttle

Re:SSH Tricks by sgentle on Tuesday September 20, 2011 @02:26AM (#3016528)
SShuttle is brilliant. For those who don't know/are skimming the comments, it's basically VPN built on SSH. You just sshuttle -r user@host 0/0 and all your outbound connections are now securely tunneled through that server. I mainly use it for watching Hulu and pretending I'm being oppressed by the government, but I suspect it's useful for other things too.
Re:SSH Tricks by sunyc on Monday September 19, 2011 @03:19AM (#3012662)
too hard , you should just use -D and tsocks
Re:SSH Tricks by nieve on Monday September 19, 2011 @04:41AM (#3012796)
I'm surprised that you'd say that if you actually understand what sshuttle does and you've read the tsocks (8) manpage. The ssh -D/tsocks combination is significantly more fragile due it how SOCKS proxying works & potential LD_PRELOAD problems, doesn't work at all with static binaries, works only for programs started with the preload (sshuttle is system-wide), doesn't handle async sockets, has issues with DNS, and fails with programs that do syscall() directly. The tsocks solution also fails miserably for anything but the use case of "have this program act (mostly, sorta) like it's running on this other machine's network" and can only do all or nothing for a program, no discrimination based on routes or ip. If it's too hard to alias "./sshuttle -r user@ssh 0/0 -vv" I'm not sure you should be playing with sharp objects like LD_PRELOAD...
Re:SSH Tricks by sunyc on Monday September 19, 2011 @11:37PM (#3016168)
What I say too hard, is saying this is way too much trouble for a problem that should be solved at another perspective. that is, fix the network or authorization problem.
Re:SSH Tricks by PHLAK on Monday September 19, 2011 @10:55AM (#3013767)
I put together a little script for just this purpose: https://github.com/PHLAK/Soxy