Re: Windows Remote Desktop over ssh



O. Olson wrote:
> Hi,
> I am wondering if someone has experience with Windows Desktop RDP over
> ssh.
>
> I have a windows XP computer at home. Unfortunately this is behind a
> router, so with the exception of ssh it is inaccessible to the outside
> world. (I am running a cygwin sshd server on it.) I have a Linux PC
> outside where I work - and I sometimes need to connect to my home PC.
> I am wondering if I can ssh from my linux PC to my home PC and port
> forward - then use rdesktop to connect.
>
> What have I tried?
> I have read two articles about it at
> http://theillustratednetwork.mvps.org/Ssh/RemoteDesktopSSH.html
> and
> http://www.bluestream.org/Networking/SSHTunnelRDP.htm
>
> When locally logged on to my home computer I have started the cygwin
> bash shell and tried
>
> ssh -L 127.0.0.2:3390:127.0.0.1:3389 localhost
>
> Then I tried using remote desktop to connect to 127.0.0.2:3390
> i.e. connecting from the windows machine to itself - and this worked.
>
>
> (Note: I have Win XP SP2 so I needed to install the patch at
> http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;884020
> )
>
> I now logged on to my linux machine i.e. on the other side of the
> router and tried
>
> ssh -L 127.0.0.2:3390:127.0.0.1:3389 Usrname@xxxxxxxxxxxxxxxxxxxxxxx
>
> I then started
> rdesktop 127.0.0.2:3390
> to get ERROR: connect: Connection refused (or rdesktop
> localhost:3390 with same failure)
>
> I also tried
> ssh -L 3390:localhost:3389 Usrname@xxxxxxxxxxxxxxxxxxxxxxx
> and I still get the same failure.
>
> Lastly, I would like to note that windows remote desktop is enabled in
> my windows firewall.
>
> I hope someone has some ideas.
> Regards,
>


Is the machine at home XP Pro or XP Home Edition? Home edition doesn't
support remote desktop. What I have used instead is ultraVNC. It's not
the same as rdp because it actually takes control of the console, but
it's better than having nothing at all.

If you have XP pro at home and sshd running you should be able to
connect by running the following on the *client* (Linux) PC...

ssh -L 3389:localhost:3389 username@homeIPaddress &

Then specify localhost on the client as the IP address of your home PC.


--
To reply by email remove "_nospam"
.



Relevant Pages

  • Re: VPN, FTP, or remote desktop
    ... There should be no need to do that if the router ... As I noted before I run Remote Desktop through a Secure Shell (SSH) tunnel ... > We also checked with Buffalo that their WBR series do support PPTP VPN. ...
    (microsoft.public.windowsxp.network_web)
  • problems connecting from Windows
    ... and there is a Linksys router forwarding port 22 to ... I have a laptop which can boot into either Windows XP ... XP, it can't connect with ssh (I tried Cygwin, Putty, ... the local LAN, I can SSH in properly, and telnetting ...
    (SSH)
  • Re: Shortcut to Remote Desktop Connection
    ... The easy way to do this is to use a dynamic DNS service provider ... check the router manual to find out how to forward TCP Port ... Then you would use Remote Desktop in the manner that you are used ... Jeffrey Randow (Windows Net. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Remote Desktop
    ... I am also using a Uniden ENR1504 Router and im having trouble using the Port Mapping I know that this is all way out of my league but if you think you can still help. ... You want Remote Desktop. ... You did not say what version of Windows XP you have? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: problems connecting from Windows
    ... Have you checked to ensure that the windows version is using the proper ... only over version of ssh. ... > and there is a Linksys router forwarding port 22 to ... > the local LAN, I can SSH in properly, and telnetting ...
    (SSH)