Re: [Hampshire] using SSH to allow VNC from the SSH server t…

Top Page

Reply to this message
Author: Dave Walker
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] using SSH to allow VNC from the SSH server to the initiators machine
James Courtier-Dutton wrote:
<SNIP>
>> ssh -R5900:localhost:5900 user@yourmachine
>>
>> When executed from the remote user's machine should do exactly what you
>> want. You should then be able to start a VNC connection to port 5900 on
>> your machine, which will then be forwarded over the ssh connection.
>>
>>
>
> But it two of your users connect at the same time, only the first will
> have the 5900 port link.
>
>

The other option is to do this directly with vncviewer. The -via option
will sort out the ssh tunnelling automagically.

$ vncviewer -via user@??? localhost:0

Kind Regards,
Dave Walker