[libvirt] Libvirt Java and SSH connection

2010-03-25 Thread Marco Mornati
Hello Bryan, I noticed some days ago that a connection to libvirt from java binding with SSH url (xen+ssh://...) leave an Ssh shell opened also after connection is closed. 29218 ?S 0:00 ssh -p 22 -l root -T -o BatchMode=yes -e none 192.168.33.10 nc -U /var/run/libvirt/libvirt-sock

Re: [libvirt] Libvirt Auth

2010-03-03 Thread Marco Mornati
Don't mixup the internal of the IBM Power Hypervisor (phyp) driver and the libvirt remote transport mechanisms. The phyp driver uses libssh2 internally and relies on the auth callback to let the user provide credentials. This in not in any way related to the libvirt remote transport mechanis

Re: [libvirt] Libvirt Auth

2010-03-03 Thread Marco Mornati
> Ah, the authentication callback is used for hypervisor level > authentication. You cannot provide credentials for SSH transport level > authentication through the libvirt API. You'll need to setup the SSL > certificates properly to enable automatic SSH login if you don't want > to be prompted fo

Re: [libvirt] Libvirt Auth

2010-03-03 Thread Marco Mornati
I tried to modify the python esx script to provide authentication (without asking to user) and it doesn't work!! Any other idea? Bye Marco Il giorno 03/mar/2010, alle ore 19.03, Matthias Bolte > ha scritto: 2010/3/3 Marco Mornati : Hello guys, I've created a plugin for H

Re: [libvirt] Libvirt Auth

2010-03-03 Thread Marco Mornati
Il giorno 03/mar/2010, alle ore 19.03, Matthias Bolte > ha scritto: 2010/3/3 Marco Mornati : Hello guys, I've created a plugin for Hudson (CI) to manage virtmachines using libvirt java (start vm for a build and stop just after). I've just a problem in authentication, in

[libvirt] Libvirt Auth

2010-03-03 Thread Marco Mornati
Hello guys, I've created a plugin for Hudson (CI) to manage virtmachines using libvirt java (start vm for a build and stop just after). I've just a problem in authentication, in fact I cannot send uname and password using code, libvirt ask me for the credentials on CLI. someone could expl