15.3.3. Connecting to VNC Server Using SSH
-viaoption. This will create an
SSHtunnel between the VNC server and the client.
vncviewer -via user@host:display_number
Example 15.6. Using the -via Option
- To connect to a VNC server using
SSH, enter a command as follows:
vncviewer -via email@example.com 127.0.0.1:3
- When you are prompted to, type the password, and confirm by pressing Enter.
- A window with a remote desktop appears on your screen.
SSH, see Chapter 14, OpenSSH.