Tunneling a protocol over ssh

Bob Bell bbell at hp.com
Fri Nov 7 08:59:23 EST 2003


On Fri, Nov 07, 2003 at 08:06:23AM -0500, Chris wrote:
> I was looking for a command like
> ssh -T   5901:localhost:x homeipaddress
> 
> in other words, tunnel port x on this machine over port 22 and then send it to
> 5901 on the remote machine
> 
> but there is no such command......

ssh -L x:homeipaddress:5901 homeipaddress

The first homeipaddress can be any IP address reachable once you log
into homeipaddress (e.g., you could make it a 192.* or 10.* IP address
on your home network).

-- 
Bob Bell



More information about the gnhlug-discuss mailing list