User Tools

Site Tools


tech:unix:ssh_forwarding

SSH Forwarding for VNC

echo "Creating SSH Tunnel"
ssh -L 5902:localhost:5902 -N -f -l user host -p 22

echo "Starting VNC client"
gvncviewer localhost:2

echo "Killing SSH Tunnel"
pkill -9 -f ssh
tech/unix/ssh_forwarding.txt · Last modified: 2024/02/21 19:09 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki