Selling cookie info to third-parties is a classic example of you can make money without doing evil.
RSS

SSH Tunneling

2005/01/24 filed under /linux

Today I was faced with a minor problem at work. I was installing a fresh Gentoo system, when I realized it'd be nice to be able to login from home to install it further (compiling everything can take a long, long time).

Unfortunately, the company's firewall wouldn't allow me to login on the desktop from the evil World Wide Wreckage, so I had to use something else. Joffie opted for a (reverse) SSH tunnel and gave me a nice link that showed me how to use this.

Shamelessly copied from: http://www.brandonhutchinson.com/ssh_tunnelling.html

It is possible to create a "reverse" ssh tunnel. The reverse tunnel will allow you to create an ssh tunnel from your work computer to your home computer, for example, and then login to your work machine from your home machine even if your work firewall does not permit ssh traffic initiated from your home machine!

For this to work, an ssh server must be installed on your work and home computer, and ssh (TCP port 22) must be allowed outbound from your work computer to your home computer.

ssh -R remote_port:localhost:22 your_home_computer

ex. ssh -R 2048:localhost:22 home.computer.com

At home, you would then run ssh -p 2048 localhost to log into your work computer via ssh.

Exactly what I needed!

Posted by: B10m | permanent link | comments (0)
Comments are closed for this story.
Trackbacks are closed for this story.
return-member