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@10.49.3.45 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 10.49.3.45,.
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.

0 comments:

Post a Comment