A Guide to Access RDP through SSH Tunneling using PuTTY (2024)

Introduction

In today’s interconnected world, secure remote access is crucial for efficient system administration. When accessing private resources within a secure network, a bastion host or jump server plays a key role in controlling access and enhancing security. However, ensuring that RDP connections are secure is important to protect sensitive data.

One way to achieve this is by establishing an SSH tunnel using PuTTY, a popular SSH and telnet client for Windows. In this blog, we will explore the steps to connect RDP via SSH tunneling using PuTTY, enhancing the security of your remote sessions.

Benefits

  1. Low Cost – Linux is an open-source operating system that is freely available for use and does not require licensing fees. On the other hand, Windows operating systems, including Windows Server, typically involve licensing costs that can add to the overall expense of deploying and maintaining a Windows bastion host.
  2. Enhanced Security – You establish a single entry point into your network by implementing a bastion host. All incoming remote connections must pass through the bastion host, a secure gateway. This helps protect your internal network from direct exposure to external threats.
  3. Access Control – A bastion host provides centralized control over remote access. It allows you to enforce strict access policies, such as authentication and authorization mechanisms, before granting access to other resources within your network. This helps prevent unauthorized access and strengthens your overall security posture.
  4. Improved Performance – Linux is known for its lightweight nature and efficient resource utilization. It typically requires fewer system resources than Windows, allowing more efficient CPU, memory, and disk I/O allocation. This efficiency can improve the bastion host’s performance, leading to faster response times and better overall performance during remote access sessions.

Pioneers in Cloud Consulting & Migration Services

  • Reduced infrastructural costs
  • Accelerated application deployment

Get Started

Pre-requisites

  1. PuTTY – If you haven’t already, begin by downloading and installing PuTTY from this link: https://www.chiark.greenend.org.uk/~sgtatham/putty/

PuTTY is a lightweight application with a graphical interface for SSH and telnet connections.

  1. Linux(Bastian) and Windows machines should be on the same network.

Step-by-Step Guide

Step 1: Launch PuTTY and configure the SSH connection

  1. Launch PuTTY, and you will see the PuTTY Configuration window.
  2. In the “Session” category, enter the hostname or IP address of your SSH server in the “Host Name (or IP address)” field.
  3. Ensure the port is set to SSH (usually port 22).
  4. Choose the appropriate connection type (SSH).
  5. Optionally, save the session configuration for future use by entering a name in the “Saved Sessions” field and clicking the “Save” button.

A Guide to Access RDP through SSH Tunneling using PuTTY (1)

A Guide to Access RDP through SSH Tunneling using PuTTY (2)

Step 2: Configure SSH tunneling settings

  1. In the PuTTY Configuration window, navigate to the “Connection” category.
  2. Expand the “SSH” menu and select “Tunnels.”
  3. Enter the Source with a port for the local machine “127.0.0.1:3389”. You can give any port range from 0 – 65536
  4. Enter the Destination with port “localhost:3389” since RDP typically listens on port 3389.
  5. Make sure the “Local” radio button is selected.
  6. Click the “Add” button to add the tunnel to the list.
  7. Verify that the added tunnel appears in the “Forwarded ports” section.

A Guide to Access RDP through SSH Tunneling using PuTTY (3)

Step 3: Establish the SSH connection and configure RDP

  1. Return to the “Session” category in the PuTTY Configuration window.
  2. Click the “Open” button to initiate the SSH connection.
  3. You may receive a security prompt if it’s your first time connecting to the SSH server. Verify the server’s fingerprint and proceed.
  4. Enter your SSH username and password when prompted.
  5. Once the SSH connection is established, leave the PuTTY window open.

A Guide to Access RDP through SSH Tunneling using PuTTY (4)

Step 4: Connect RDP through the SSH tunnel

  1. Launch the Remote Desktop Connection client on your local machine (Windows key + R, then type “mstsc” and press Enter).
  2. In the Remote Desktop Connection window, enter “localhost:9999” (or the source port you chose) in the “Computer” field.
  3. Click the “Connect” button to establish an RDP session.
  4. If required, provide your remote system’s credentials to log in.
  5. You are now remotely connected to the Windows system through an SSH tunnel established with PuTTY.

A Guide to Access RDP through SSH Tunneling using PuTTY (5)

A Guide to Access RDP through SSH Tunneling using PuTTY (6)

Conclusion

Establishing an SSH tunnel using PuTTY to connect RDP provides additional security to your remote sessions. Encrypting the RDP traffic through an SSH connection protects your data from potential threats and ensures secure remote administration. The step-by-step process outlined in this blog should help you easily connect to RDP sessions by SSH tunnel. Always follow best security practices and update your software to maintain a secure remote access environment.

Making IT Networks Enterprise-ready – Cloud Management Services

  • Accelerated cloud migration
  • End-to-end view of the cloud environment

Get Started

About CloudThat

CloudThatis an official AWS (Amazon Web Services) Advanced Consulting Partner and Training partner and Microsoft Gold Partner, helping people develop knowledge of the cloud and help their businesses aim for higher goals using best-in-industry cloud computing practices and expertise. We are on a mission to build a robust cloud computing ecosystem by disseminating knowledge on technological intricacies within the cloud space. Our blogs, webinars, case studies, and white papers enable all the stakeholders in the cloud computing sphere.

Drop a query if you have any questions regarding RDP, PuTTY, I will get back to you quickly.

To get started, go throughourConsultancypageandManaged Services Package, CloudThat’sofferings.

FAQs

1. Are there any specific network requirements for connecting to a private RDP via a Linux bastion host?

ANS: – You need network connectivity between the Linux bastion host and the private RDP server. Ensure that appropriate network rules and firewall configurations are in place to allow the necessary traffic.

2. Can I use a Windows-based Bastion host instead of a Linux Bastion host?

ANS: – Yes, it is possible to use a Windows-based bastion host. However, Linux bastion hosts are often preferred for their security, stability, and cost-effectiveness.

3. Are there any additional security considerations when connecting to a private RDP via a Linux bastion host?

ANS: – Yes, it is important to follow security best practices such as using strong passwords, configuring firewall rules, regularly updating software, and implementing access controls on the bastion host to ensure secure remote access.

A Guide to Access RDP through SSH Tunneling using PuTTY (2024)
Top Articles
Countries With Free or Universal Healthcare
Online Reviews = The Digital Version of Word-of-Mouth Marketing
Garrison Blacksmith Bench
Shoe Game Lit Svg
Citibank Branch Locations In Orlando Florida
Missed Connections Inland Empire
Noaa Swell Forecast
Cars For Sale Tampa Fl Craigslist
Horned Stone Skull Cozy Grove
Culver's Flavor Of The Day Monroe
Weekly Math Review Q4 3
Craigslist Chautauqua Ny
Turbocharged Cars
Hartford Healthcare Employee Tools
Washington, D.C. - Capital, Founding, Monumental
UEQ - User Experience Questionnaire: UX Testing schnell und einfach
Help with Choosing Parts
Missing 2023 Showtimes Near Landmark Cinemas Peoria
Mbta Commuter Rail Lowell Line Schedule
[Birthday Column] Celebrating Sarada's Birthday on 3/31! Looking Back on the Successor to the Uchiha Legacy Who Dreams of Becoming Hokage! | NARUTO OFFICIAL SITE (NARUTO & BORUTO)
Blackwolf Run Pro Shop
iZurvive DayZ & ARMA Map
Spider-Man: Across The Spider-Verse Showtimes Near Marcus Bay Park Cinema
Craigslist Mt Pleasant Sc
Hennens Chattanooga Dress Code
Curver wasmanden kopen? | Lage prijs
Best Nail Salons Open Near Me
Www Craigslist Madison Wi
Gran Turismo Showtimes Near Marcus Renaissance Cinema
Airtable Concatenate
Ltg Speech Copy Paste
Die 8 Rollen einer Führungskraft
Pensacola Tattoo Studio 2 Reviews
Viduthalai Movie Download
1964 Impala For Sale Craigslist
Town South Swim Club
Ghid depunere declarație unică
Ducky Mcshweeney's Reviews
T&J Agnes Theaters
Mydocbill.com/Mr
The Transformation Of Vanessa Ray From Childhood To Blue Bloods - Looper
Gvod 6014
Gasoline Prices At Sam's Club
Scythe Banned Combos
Squalicum Family Medicine
Petfinder Quiz
2294141287
Accident On 40 East Today
2000 Ford F-150 for sale - Scottsdale, AZ - craigslist
How To Find Reliable Health Information Online
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 6260

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.