[libvirt-users] Libvirt libssh2 authentication

David Dias pingpouff at gmail.com
Thu Mar 27 14:49:06 UTC 2014


Is there a workaround? I mean, is there a way to still delegate
authentication logic to my code?


On Thu, Mar 27, 2014 at 3:18 PM, Claudio Bley <cbley at av-test.de> wrote:

> At Wed, 26 Mar 2014 17:25:24 +0100,
> David Dias wrote:
> >
> > Hi,
> >
> > I am working on a java application using libvirt java API (version 0.4.7)
> > and i would like to authenticate through ssh within my application (no
> need
> > for the user to type his password). How can i submit SSH authentication
> > credentials to libvirt?
> >
> > I am trying to get it working using libssh2 callback, but i get the
> error:
> > "SSH transport error: no suitable method to retrieve authentication
> > credentials" before anything happens. I have the same error running
> "virsh
> > -c qemu+libssh2://username at host/system list" command.
>
> There's already a bug report open, see
> https://bugzilla.redhat.com/show_bug.cgi?id=1047861
>
> I'd recommend you use a newer version of libvirt-java, though. Version
> 0.5.1 was released in Sep 2013.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140327/19416a91/attachment.htm>


More information about the libvirt-users mailing list