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

Top Page

Reply to this message
Author: Alan Bell
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] using SSH to allow VNC from the SSH server to the initiators machine
thanks, that works a treat. Even when the remote user is on a mobile
broadband connection over a 3G dongle.

Alan.

Chris Smith wrote:
> Alan Bell wrote:
>
>> The remote user is running Ubuntu so can go to their remote desktop
>> preferences and turn on their VNC server, that is fine, but I can't see
>> their computer at all, certainly not on port 5900. I know SSH can tunnel
>> stuff, but I am not quite sure how to set up the routes or ports to get
>> back along the tunnel to the initiator from the server end.
>> Has anyone done this sort of thing? Or has a better solution?
>>
>
> 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.
>
> Chris
>



--
Alan Bell
The Open Learning Centre

Web: www.theopenlearningcentre.com
Mob: +44 (0)7736 778908
Tel: +44 (0)8444 3576000

The Open Learning Centre is a trading name of Bell Lord Ltd,
a company registered in England and Wales #05868943.
VAT Registration #GB 901 4715 55