Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread David Maciejak
On Fri, Jun 28, 2013 at 1:55 PM, Michal Novotny wrote: > > On 06/28/2013 01:54 PM, Peter Krempa wrote: > > On 06/28/13 13:50, Michal Novotny wrote: > >> On 06/28/2013 01:48 PM, Daniel P. Berrange wrote: > >>> On Fri, Jun 28, 2013 at 01:43:44PM +0200, Michal Novotny wrote: > if libvirt doesn'

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Michal Novotny
On 06/28/2013 01:54 PM, Peter Krempa wrote: > On 06/28/13 13:50, Michal Novotny wrote: >> On 06/28/2013 01:48 PM, Daniel P. Berrange wrote: >>> On Fri, Jun 28, 2013 at 01:43:44PM +0200, Michal Novotny wrote: if libvirt doesn't have the tokenizer support yet, it may be a good RFE as I bel

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Daniel P. Berrange
On Fri, Jun 28, 2013 at 01:50:08PM +0200, Michal Novotny wrote: > > On 06/28/2013 01:48 PM, Daniel P. Berrange wrote: > > On Fri, Jun 28, 2013 at 01:43:44PM +0200, Michal Novotny wrote: > >> if libvirt doesn't have the tokenizer support yet, it may be a good RFE > >> as I believe it could be reall

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Peter Krempa
On 06/28/13 13:50, Michal Novotny wrote: > > On 06/28/2013 01:48 PM, Daniel P. Berrange wrote: >> On Fri, Jun 28, 2013 at 01:43:44PM +0200, Michal Novotny wrote: >>> if libvirt doesn't have the tokenizer support yet, it may be a good RFE >>> as I believe it could be really useful ;-) >>> >>> Peter

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Michal Novotny
On 06/28/2013 01:48 PM, Daniel P. Berrange wrote: > On Fri, Jun 28, 2013 at 01:43:44PM +0200, Michal Novotny wrote: >> if libvirt doesn't have the tokenizer support yet, it may be a good RFE >> as I believe it could be really useful ;-) >> >> Peter, do you know about anything libvirt supports to t

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Daniel P. Berrange
On Fri, Jun 28, 2013 at 01:43:44PM +0200, Michal Novotny wrote: > if libvirt doesn't have the tokenizer support yet, it may be a good RFE > as I believe it could be really useful ;-) > > Peter, do you know about anything libvirt supports to tokenize string? We have virStringSplit for tokenizing s

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Michal Novotny
On 06/28/2013 01:41 PM, David Maciejak wrote: > > > > On Fri, Jun 28, 2013 at 1:03 PM, Michal Novotny > wrote: > > > On 06/28/2013 12:28 PM, Peter Krempa wrote: > > On 06/27/13 14:31, David Maciejak wrote: > >> Hi, > >> > >> I was discussing with Da

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread David Maciejak
On Fri, Jun 28, 2013 at 1:03 PM, Michal Novotny wrote: > > On 06/28/2013 12:28 PM, Peter Krempa wrote: > > On 06/27/13 14:31, David Maciejak wrote: > >> Hi, > >> > >> I was discussing with Daniel about the best way to pass the ssh password > >> when using such kind of uri: > >> 'xen+libssh2://roo

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Michal Novotny
On 06/28/2013 12:28 PM, Peter Krempa wrote: > On 06/27/13 14:31, David Maciejak wrote: >> Hi, >> >> I was discussing with Daniel about the best way to pass the ssh password >> when using such kind of uri: >> 'xen+libssh2://root@192.168.0.10?sshauth=password >>

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread Peter Krempa
On 06/27/13 14:31, David Maciejak wrote: Hi, I was discussing with Daniel about the best way to pass the ssh password when using such kind of uri: 'xen+libssh2://root@192.168.0.10?sshauth=password ' As it seems passing the password in the uri is not a

Re: [libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-28 Thread David Maciejak
enclosed the patch from git repo On Thu, Jun 27, 2013 at 2:31 PM, David Maciejak wrote: > Hi, > > I was discussing with Daniel about the best way to pass the ssh password > when using such kind of uri: 'xen+libssh2:// > root@192.168.0.10?sshauth=password' > > As it seems passing the password in

[libvirt] [PATCH] add support for libssh2 password from auth file

2013-06-27 Thread David Maciejak
Hi, I was discussing with Daniel about the best way to pass the ssh password when using such kind of uri: 'xen+libssh2:// root@192.168.0.10?sshauth=password' As it seems passing the password in the uri is not a good option, maybe we can grab it from auth conf ? it seems it's not the case as now (