<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sharuk FK</title>
    <description>The latest articles on DEV Community by Sharuk FK (@sharuk_fk_7883e6ff2447418).</description>
    <link>https://dev.to/sharuk_fk_7883e6ff2447418</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4231812%2F87c7580e-784d-48e5-9835-f318def9cb86.png</url>
      <title>DEV Community: Sharuk FK</title>
      <link>https://dev.to/sharuk_fk_7883e6ff2447418</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sharuk_fk_7883e6ff2447418"/>
    <language>en</language>
    <item>
      <title>How to tunnel Windows Remote Desktop (RDP) securely over SSH port 22 without exposing port 3389</title>
      <dc:creator>Sharuk FK</dc:creator>
      <pubDate>Sat, 07 Nov 2026 09:34:57 +0000</pubDate>
      <link>https://dev.to/sharuk_fk_7883e6ff2447418/how-to-tunnel-windows-remote-desktop-rdp-securely-over-ssh-port-22-without-exposing-port-3389-13p6</link>
      <guid>https://dev.to/sharuk_fk_7883e6ff2447418/how-to-tunnel-windows-remote-desktop-rdp-securely-over-ssh-port-22-without-exposing-port-3389-13p6</guid>
      <description>&lt;h1&gt;
  
  
  How to Tunnel Windows Remote Desktop (RDP) Securely Over SSH (Stop Exposing Port 3389)
&lt;/h1&gt;

&lt;p&gt;If you have a Windows workstation, staging server, or cloud VM connected to the public internet with port &lt;strong&gt;3389&lt;/strong&gt; open, your machine is under non-stop attack.&lt;/p&gt;

&lt;p&gt;Within minutes of opening port 3389, automated botnets begin hammering your server with thousands of NTLM credential-stuffing attempts per hour. Worse, unpatched vulnerabilities in the Remote Desktop Protocol (like the infamous BlueKeep CVE-2019-0708) can allow remote attackers to execute arbitrary code without any authentication.&lt;/p&gt;

&lt;p&gt;The industry-standard solution is &lt;strong&gt;RDP over SSH&lt;/strong&gt;: completely close port 3389 in your firewall and tunnel all graphical remote desktop traffic through an encrypted SSH stream on port 22.&lt;/p&gt;

&lt;p&gt;In this guide, we'll walk through:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why native RDP is a massive security hazard.&lt;/li&gt;
&lt;li&gt;How SSH local port forwarding encapsulates RDP.&lt;/li&gt;
&lt;li&gt;Step-by-step CLI setup on Windows 10/11 and Linux.&lt;/li&gt;
&lt;li&gt;How to automate the entire process in one click.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  The Danger of Exposing Native Port 3389
&lt;/h2&gt;

&lt;p&gt;Traditional Remote Desktop relies on direct TCP/UDP connections to port 3389:&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://sshdesktop.com/rdp-over-ssh" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fsshdesktop.com%2Fassets%2Fimages%2Fog-image.svg" height="630" class="m-0" width="1200"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://sshdesktop.com/rdp-over-ssh" rel="noopener noreferrer" class="c-link"&gt;
            RDP over SSH Tunnel &amp;amp; RDP/SSH Connection Manager | Secure Remote Desktop | SSH Desktop
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Tunnel RDP port 3389 over encrypted SSH port 22. Secure Windows 10/11 &amp;amp; Linux Remote Desktop connections with an intuitive, unified RDP and SSH connection manager.
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fsshdesktop.com%2Fassets%2Fimages%2Ffavicon.svg" width="32" height="32"&gt;
          sshdesktop.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>devops</category>
      <category>security</category>
      <category>sysadmin</category>
      <category>windows</category>
    </item>
  </channel>
</rss>
