I am trying to use Remote Desktop to connect to a Windows server that is on a private LAN. I am doing this via an ssh proxy through a Linux server on the private LAN. I can ssh to the Linux server but so far I've been unable to use it as a springboard to the Windows server.
ssh access to a Linux server on the private LAN is via a dedicated port.
ssh -p <port> sssg@localhost
I have been trying to set up a proxy on a Linux box that will enable me to set up a remote desktop connection from my laptop. This is the syntax I've been using thus far.
ssh -L 3389:windows-server.whoi.edu:3389 linux-box.whoi.edu
If I'm understanding the ssh documentation correctly, this should enable me to set up a remote desktop session to windows-server by specifying "localhost" as the server, but so far I've kept getting an error message.
Is what I'm trying to do even possible?