Hacker News new | ask | show | jobs
by jjcm 5683 days ago
Tip: 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
1 comments

Nah, -f will prompt for password before backgrounding the process.