<div dir="ltr"><div><div>Hi,<br><br></div>I am working on a java application using libvirt java API (version 0.4.7) and i would like to authenticate <span id="result_box" class="" lang="en"><span class="">through ssh</span></span> within my application (no need for the user to type his password). How can i submit SSH authentication credentials to libvirt?<br>
<br>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@host/system list" command.<br>
<br></div><div>What is the right way to get the ssh connection working from the java code?<br><br></div><div><br></div><div>regards,<br><br><br></div><div>David<br></div></div>