<div dir="ltr">Is there a workaround? I mean, is there a way to still delegate authentication logic to my code?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 3:18 PM, Claudio Bley <span dir="ltr"><<a href="mailto:cbley@av-test.de" target="_blank">cbley@av-test.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Wed, 26 Mar 2014 17:25:24 +0100,<br>
<div class="">David Dias wrote:<br>
><br>
> Hi,<br>
><br>
> I am working on a java application using libvirt java API (version 0.4.7)<br>
> and i would like to authenticate through ssh within my application (no need<br>
> for the user to type his password). How can i submit SSH authentication<br>
> credentials to libvirt?<br>
><br>
> I am trying to get it working using libssh2 callback, but i get the error:<br>
> "SSH transport error: no suitable method to retrieve authentication<br>
> credentials" before anything happens. I have the same error running "virsh<br>
> -c qemu+libssh2://username@host/system list" command.<br>
<br>
</div>There's already a bug report open, see<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1047861" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1047861</a><br>
<br>
I'd recommend you use a newer version of libvirt-java, though. Version<br>
0.5.1 was released in Sep 2013.<br>
</blockquote></div><br></div>