Friday, May 22, 2009

Command to ssh tunnel using vncviewer

VNC viewer provides a command line option to
tunnel over ssh, without having to run a separate
ssh session with X window tunneling.
vncviewer -via native@ vm99:1
The command uses the via switch. In this example,
the vncviewer will reach the display #1 of vm99
by running an ssh session through,.
with the user name native. Such a command is
typically useful while accessing virtual machines
(such as KVM guests, OpenVZ containers)
running on other machines.


Post a Comment