SSH tunneling without opening shell

ssh -D 8123 -fN [email protected]

  • -D: Create socks proxy, listening on port 8123

  • -f: Requests ssh to go to background just before command execution.

  • -N: Do not execute a remote command.