The Technical Bits

… and pieces

Wednesday, April 23, 2008

Proxy Using SSH

ssh -C2qTnN -D 4567 user@somehost.com

Options used:

  • C – requests compression of all data.
  • 2 – forces ssh to try protocol version 2 only.
  • q – quiet mode; suppresses all warning and diagnostic messages.
  • T – disables pseudo-tty allocation.
  • n – redirects stdin from /dev/null, i.e., prevent reading from stdin. Must be used when ssh is run in the background.
  • N – means do not execute a remote command.
  • D – specifies the local application-level port.
posted by gurnaik at 12:28 pm  

Powered by WordPress