A Blog about technology, linux, peer2peer, cool new downloads and software development.

Saturday, February 7, 2009

SSH socks proxy tunnel (Detached & Persistent)

make detached ssh socks proxy tunnel :

nohup bash -c "while [ 1 ]; do ssh -o ExitOnForwardFailure=yes -o ConnectTimeout=2 -o TCPKeepAlive=yes -o ServerAliveInterval=2 -o ServerAliveCountMax=2 -N -D 8080 user@server.com; sleep 1; done" &

(after authorizing key with ssh-copy-id)
Set firefox proxy to socks V5 - lolcahost:8080

1 comment:

Daniel Kelly / EloquentSpace said...

All your images are broken, what's up with that. I have a 25 node daisy-chained network of autossh computers all across Chicagoland for no apparent reason. I use it for anonymity at work.

SSH is the $%17! Just beware of using it on consumer grade routers, the 200mhz processor chokes on the compression, even blowfish.