A
A
Alexey Petrov2017-01-16 13:58:26
SSH
Alexey Petrov, 2017-01-16 13:58:26

How to set up an SSH tunnel in PuTTY for RDP connection?

Hello.
There is a server that waits for an SSH connection on port 2222, it also has an RDP server on port 3999 and only accepts connections from localhost
How to set up a Windows client?
I tried it as here andreyolegovich.ru/PC/rdp_ssh_tunnel.php , but I don't understand what to drive into Destination.
If you make Source port: 3999, Destinantion: XXX.XXX.XXX.XXX:3999 and, accordingly, localhost: 3999 in the Windows client, then when you try to connect, it gives an error "Cannot connect to the remote computer."
If you enter XXX.XXX.XXX.XXX:2222 in Destination, then when you try to connect, you receive a "Protocol error detected on the client computer (code 0x1104)"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Константин ™, 2017-01-16
@Energoblock

В putty
Source port: 5555
Destination: localhost:3999
В rdp-клиенте
localhost:5555

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question