TransWikia.com

Connecting to remote desktop from windows through ssh

Super User Asked on February 18, 2021

I am sitting on a Windows computer, on a network, that doesn’t allow me to connect to a Windows server outside the network on RDP – however I am able to SSH into a third server outside the network.

Is it possible to make a remote desktop connection through my ssh server, so I can get the Windows server remote desktop on my Windows computer?

2 Answers

From a Linux Host you Open a Terminal and connect using the folowing command.

ssh -X [ipaddr]

then you can use graphically aplications and use your preferred RDP client for example rdesktop

being more clear that will allow you to connect graphically with RDP client from that host located inside your current area network.

If the OS from the host using SSH client is Windows you should fordward the X server and should have a Windows X Session software as Xming.

In PuTTY X11 Fordwarding can be enabled in

Conection > SSH > X11 and mark Enable X11 fordwarding

enter image description here

Prerequisites.

  • Remote Linux host must be running a X server.
  • You should have a good bandwidth conection.

Answered by Francisco Tapia on February 18, 2021

It depends a bit on the bandwidth of you connection whether RDP works as you would like.

But technically you can use SSH port forwarding (https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding) to forward the relevant ports for RDP, so that you can connect to the other server via RDP over your SSH connection.

Answered by Darneas on February 18, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP