sometime you try to access someone's host machine, which KVM running several vm image, you want to access one of the vm.
one the remote host (name: wawr-builder, ip 10.71.50.228) machine:
wawr@wawr-builder:~$ virsh list
Id Name State
----------------------------------------------------
2 Ubuntu64 running
11 av_virtual_3 running
from my local machine, you can do:
jim@jim-dell-5810:~$ virt-viewer --connect qemu+ssh://wawr@10.71.50.228/system av_virtual_3
With the above, you’ll have to enter your SSH password twice – first to establish the connection to the hypervisor and secondly to establish a tunnel to the VM’s VNC/SPICE session
see original post:
https://www.jethrocarr.com/2012/08/04/virt-viewer-remote-access-tricks/
No comments:
Post a Comment