[libvirt-users] qemu+ssh authentication

Shahar Havivi shavivi at redhat.com
Mon Aug 22 11:16:02 UTC 2016


Hi,

I try to login via the libvirt.openauth() API with qemu+tcp protocol and prompt for password,

I am setting the username, password and the callback methdod with the
following keys:
auth = [[libvirt.VIR_CRED_AUTHNAME, libvirt.VIR_CRED_PASSPHRASE], request_cred, None]

When I call openauth() method:
conn = libvirt.openAuth('qemu+ssh://...', auth, 0)

I am getting prompt for entriyng password.
When using qemu+tcp it works fine.

Thank you,

 Shahar.




More information about the libvirt-users mailing list