Re: Windows Remote Desktop over ssh



"O. Olson" <olson_ord@xxxxxxxx> writes:

> Hi,
> I am wondering if someone has experience with Windows Desktop RDP over
> ssh.

[raises hand]

> 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.

Should be able to. I've done it before, although not with my home
pc.

> 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.

127.0.0.2 ? I'm not entirely certain that's a legal address.

Try

ssh -L 3389:WINDOWSBOXIPADDRESS:3389 username@xxxxxxxxxxxxxxxxxxxxxxx

Then point the remote desktop at 127.0.0.1:3389 on your remote machine
from which you launched the ssh client.

WINDOWSBOXIPADDRESS would be the ip address it has on your lan, and
that can't legally be 127.0.0.2. 192.168.0.x perhaps depending on
your router's config.


--
Todd H.
http://www.toddh.net/
.



Relevant Pages

  • Re: Remote Desktops
    ... > use X over ssh. ... You won't have a remote desktop either. ... > used this more than VNC or remote desktops. ... It's fine for accessing the Windows machine from ...
    (RedHat)
  • Re: Remote Access to multiple PCs on a network
    ... think Windows Remote Desktop used port 6830, however I need to be able ... individual PC behind the router with Remote Desktop? ... Or you could setup a VPN or SSH tunnel and only open one hole on the router and access any PC through that. ... An added benefit of using a SSH tunnel is you can use a private/public key pair protected by a strong password for authentication. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: [opensuse] vncserver access via putty but not from remote desktop sharing
    ... using vncserver, and tightvnc tunnels over ssh, to allow many users access to ... First each server machine runs headless. ... Directly logging in to a remote desktop isn't such a good idea... ... to put this is that it is not a good idea to keep a vnc server port open. ...
    (SuSE)
  • Re: Connecting to PC over Internet
    ... Both Remote Desktop and UltraVNC have file transfer functionality included. ... If you just want to grab files from the laptop then a very secure way to do ... that is to setup a SSH tunnel and use WinSCP (a free SSH File Transfer ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Controlling a second machine on the same desk
    ... >I can find plenty of stuff on presenting a remote desktop or ... and the other is nailed down apart from an ssh ... >connection to the internet machine. ... >the other machine's keyboard/mouse remotely. ...
    (comp.security.ssh)