SSH Tunnel RDP Session over another Host
Let’s say you want to tunnel an RDP connection via SSH.
User: phaus
SSH-Server: ssh.example.com
RDP-Server: win2k8.example.com
#!/bin/bash
ssh -L13389:win2k8.example.com:3389 phaus@ssh.example.com
You need to run that script and keep your session open.
You can then access the remote System with a RDP Client over localhost 13389.
Original Post: https://coderwall.com/p/wzvxhg/ssh-tunnel-rdp-session-over-another-host