[virt-tools-list] virt-viewer over ssh not connecting to localhost

Marc Haber mh+virt-tools-list at zugschlus.de
Mon Dec 31 18:34:29 UTC 2012


when invoke virt-viewer 0.5.4 over ssh with the command line
virt-viewer --connect=qemu+ssh://kvm-host/system <domain>
virt-viewer calls nc over ssh as
ssh kvm-host nc kvm-host 5900
which makes nc, in a regular setup, use kvm-host's IP address to
connect to the locally running spice agent.

This clashs with virt-manager's default setting of having the Spice
agent listen in only.

While this can be remedied by telling virt-manager's option to have
the Spice agent listen on all IP addresses, but this exposes the Spice
agent to the network, making a packet filter necessary.

Is is possible to have virt-viewer call ssh kvm-host nc localhost
5900, connecting to

If that is not possible, I'd like to have this on file as a wishlist
item for one of virt-viewer's future versions. According to the
virt-viewer man page, this list is the proper medium for bug reports
against virt-viewer, is this still the case?

Any hints would be appreciated.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062

More information about the virt-tools-list mailing list