DEV Community

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

Posted on

2 1

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.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay