SSH tunnel question

Michael ODonnell michael.odonnell at comcast.net
Wed Feb 27 12:35:20 EST 2008



You could execute this command on your work computer:

   ssh -R 2222:localhost:22 yourHomeComputer

...which is saying "start SSH and arrange for the SSH on the
Remote end to listen for connections on port 2222 and forward
them to port 22 on the Local end".  After that, this would
work on your home computer:

   ssh -p 2222 localhost

Nothing sacred about 2222 except that it's somewhat mnemonic.
 


More information about the gnhlug-discuss mailing list