SSH packet forward through jump host
RDP into a Windows machines through a secure SSH bastion host that forwards RDP packets to the Windows host.
Use RDP on localhost 3389 to connect through the SSH tunnel and the remote SSHD at the bastion server will forward to the windows server.
Replace 3389 with any other port you need forwarded to a remote host.
<Your Laptop> 3389:localhost --> <SSH Bastion Proxy server> --> 3389:Windows host
ssh -L windowshost:3389 root@ssh_bastion_host
Written by Lars Van Casteren
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Bash ssh bastion packet forwarding
Authors
Related Tags
#bash ssh bastion packet forwarding
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#