4 ms·
How to start a SOCKS proxy on localhost:12345 proxying through your account foo on bar.example.com: ssh -D 12345 -N -f foo@bar.example.com
by jey 16y ago
How to start a SOCKS proxy on localhost:12345 proxying through your account foo on bar.example.com:
ssh -D 12345 -N -f foo@bar.example.com
- jjcm 16y agoTip: you can group the flags together like so: ssh -fND 12345 foo@bar.example.com Also, the -f flag will cause it to fail if you don't have passwordless auth set up. If you don't have it set to use private/public key pairs, just tunnel like so: ssh -ND 12345 foo@bar.example.com
- jey 16y agoNah, -f will prompt for password before backgrounding the process.
- hung020185 16y agossh -D 12345 -N -f foo@bar.example.com