4 ms·
Trick 5 (opening a remote port on a "public" machine to connect back to your local machine) is great. Combine it: office$ ssh -R 9999:localhost:22 user@home #
by iigs 18y ago
Trick 5 (opening a remote port on a "public" machine to connect back to your local machine) is great. Combine it:
office$ ssh -R 9999:localhost:22 user@home ## do this in a screen for good measure
and another lesser known ssh feature:
home$ ssh -D 8888 -p 9999 user@localhost
and now you have a SOCKS proxy on home:8888 that will access everything visible to the computer named "office".
For extra credit add PingTunnel and a hotspot that happens to allow ICMP and enjoy free internet wherever you go.
- gommm 18y agoThanks for the tip on ping tunnel, I hadn't heard of it.... Going to have fun checking it out
- mark_h 18y agoYeah, that was exactly the one that stood out for me! I've wanted this several times recently, at work and at play.
- sven 18y agocombine your ssh-tunnel-socks-proxy with tsocks, and you have a nearly transparent access for your applications on your home-box into the office.