Re: Windows Remote Desktop over ssh
- From: Chuck <skilover_nospam@xxxxxxxxxxxxxx>
- Date: Mon, 23 Jan 2006 19:47:30 GMT
Chuck wrote:
> 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.
>
>
You might also want to include the -N option if all your doing is
forwarding a port.
--
To reply by email remove "_nospam"
.
- References:
- Windows Remote Desktop over ssh
- From: O. Olson
- Re: Windows Remote Desktop over ssh
- From: Chuck
- Windows Remote Desktop over ssh
- Prev by Date: Re: Windows Remote Desktop over ssh
- Next by Date: Re: Windows Remote Desktop over ssh
- Previous by thread: Re: Windows Remote Desktop over ssh
- Next by thread: Re: Windows Remote Desktop over ssh
- Index(es):
Relevant Pages
|
|