SSH Tunnelling

Thomas Chen tchen3@uci.edu
Thu Nov 27 19:22:00 2003


I got the vncviewer to work through SSH. Is there a way to set up the 
SSH connection so that it works for the Java viewer as well? Like, say 
you connect via SSH and then use java instead of vncviewer to connect. 
Is there a way to tunnel that through SSH as well?

Tom

William Hooper wrote:

>Thomas Chen  said:
>  
>
>>I read the link on realvnc.com about SSH tunnelling, but I am having
>>trouble understanding it. This is how I interpreted it:
>>
>>-Install and run SSH Server on VNC server computer.
>>-Run ssh -L x:localhost:y <computerName> on VNC server computer
>>    
>>
>              ^ port num. ^                       ^^^^^^viewer
>
>  
>
>>-Connect in with remote computer to <computerName>:x
>>    
>>
>                             localhost^^^^^^^^^^^^^^ ^display num.
>
>In the VNC example, "snoopy" is the VNC server.