Login to the remote computer and work safely in the RDP session ( but you remember that port 3389 is still closed by the firewall). To connect to a remote computer desktop via the SSH tunnel, you need to connect to the local Port 8888 of your computer using the RDP client (mstsc.exe): Ssh -L 8888:192.168.1.90:3389 To make the SSH tunnel work in the background, add the –f parameter. To create an SSH tunnel using the built-in Windows 10 SSH client (is a part of Windows starting from Windand Windows Server 2019), run this command: The general connection scheme is shown below. In this example, we will create a local Port 8888, and the connection to it will be forwarded to the RDP port 3389 on a remote Windows computer. All connections to this port are forwarded to the specified port on a remote server via the SSH tunnel. In this mode, you create a local TCP port on your computer. RDP Access Through SSH Tunnel (Local TCP Forwarding)
0 Comments
Leave a Reply. |