https://helpdeskgeek.com/how-to/tunnel-vnc-over-ssh/
===Connection Issues=== Coming back to this, I had issues connecting. I set up the tunnel using the saved profile in puTTY.exe and checked to see which local port was listening (it was 5901) and not firewalled using the listening ports tab under network on resmon.exe(it said allowed, not restricted under firewall status). VNC seemed to be running fine on Bastard, and I tried connecting to localhost::1 (that is 5901 (and so on the localhost, through the tunnelto 5902 on Bastard) using VNC Connect by RealVNC. Eventually, The connection was refused. I checked it was listening and there was no firewall: netstat -tlpn tcp 0 0 0.0.0.0:5902 0.0.0.0:* LISTEN 2025/Xtightvnc ufw status Status: inactive Ignoring the SSH tunnel worked fine: Connect to 192.168.2.202::5902 using either realVNC or the connection timed outTightVNC client.
===RDP===