Create an SSH Tunnel


How to connect to a remote network via ssh tunnel

ssh -Llocal_ip:local_port:remote_ip:remote_port remote_server

This sets up connections from local_ip on port local_port to be forwarded to remote_ip:remote_port as seen by remote_server. In other words, it is the same as logging in to the remote server and opening a connection from there. Example:

ssh -Llocalhost:5902:joes_computer:5900 client_server
Last update:
2012-02-06 07:19
Author:
Rod
Revision:
1.1
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags