DEV Community

Cover image for RDP via OpenSSH
Adam K Dean
Adam K Dean

Posted on

RDP via OpenSSH

I wrote about connecting to RDP over SSH, but that relied upon PuTTY. As I'm now using OSX, I have access to OpenSSH. This makes things easier.

ssh -L <localport>:<remotehost>:<remoteport> <sshserver>
Enter fullscreen mode Exit fullscreen mode

For example:

ssh -L 8001:192.168.0.1:3389 adamkdean.co.uk
Enter fullscreen mode Exit fullscreen mode

Now you can connect to local port 8001 with RDP.

Discussion (0)