[libvirt-users] qemu+ssh auth with different identity files

David W King davidwk at goshen.edu
Thu Jul 1 11:37:43 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to get qemu+ssh auth working but I need to be able to specify
an identity file to use for the ssh connection.  Based on what I read at
http://libvirt.org/remote.html I tried

virsh -c
"qemu+ssh://root@xhost1/system?command=/usr/bin/ssh%20-i%20/path/to/my/identity/file/id_rsa"
list

which returns

error: cannot recv data: Connection reset by peer
error: failed to connect to the hypervisor

I've also tried

virsh -c
"qemu+ext://root@xhost1/system?command=/usr/bin/ssh%20-i%20/path/to/my/identity/file/id_rsa"
list

but that just seg faults right away.  Is there something I'm missing or
is there a better way to do this?

~david

- -- 
David King
Goshen College ITS
davidwk at goshen.edu
574-535-7726

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwsfgcACgkQH+/Vg7DylXZwNACgokhTalESNjigypXA2kAlP8gp
etkAn3aEwJN1kJSPCkkIr09wBjwGD14r
=lC67
-----END PGP SIGNATURE-----




More information about the libvirt-users mailing list