Monday, July 18, 2011

SSH: Secure Web Access from Anywhere

I was going to write a tutorial on how to setup and use SSH tunnel for secure Web access. But thanks to this How-To Geek article for saving me the trouble!

Their article focus on PuTTY. If you prefer command line tool like Cygwin or OpenSSH, you can establish the connection with the following command:
ssh -l username -D 8080 -N ip_address

-l
specifies the user to log in as on the remote machine

-D
specifies a local "dynamic" application-level port forwarding

-N
do not execute a remote command

See ssh man page for details

No comments: