remote desktop access
James McDonald
james
Thu Sep 22 17:44:25 PDT 2005
Roger Oberholtzer wrote:
>I know the following question is a popular one and one that has a
>zillion possible solutions. I ask it here to see what anyone on this
>list has perhaps done.
>
>
If the firewall supports ssh and you don't have a Microsoft or similar
VPN at work. I do the following.
Install cygwin along with the openssh on the windows box
From a command prompt in windows
cd /d C:\cygwin
cygwin.bat
$ ssh -l jamesm <firewall> -L 590y:<192.168.1.x>:590y
where <firewall> is the fqdn or IP of the work firewall
and y is the number of the vncserver running on the linux box
eg.
$ ssh -l jamesm myhost.dyndns.org -L 5901:192.168.1.4:5901
This sets up a tunnel from the localhost windows computer to the work
firewall to the vnc port on the linux box at work
Then from the windows box at home I install RealVNC vncviewer and make
sure allow connection to localhost is enabled then run vncviewer and enter
localhost:5901
instant remote desktop
OR
if you do have some other vpn software just start a tunnel to the work
firewall and then
vncviewer <IPofLinuxBoxAtWork>:<ScreenNumber>
More information about the Linux-users
mailing list