Displaying 4 results from an estimated 4 matches for "remote_uri_reference".
2015 Nov 03
2
xen+ssh with openauth
Hi,
I am trying to connect to remote libvirt via script,
and I get password prompt from the shell.
============================================================================
uri='xen+ssh://root@myserver/?no_verify=1'
def req(credentials, user_data):
print('in req...\n')
for cred in credentials:
if cred[0] == libvirt.VIR_CRED_AUTHNAME:
cred[4] =
2015 Nov 11
2
Re: xen+ssh with openauth
...th SSH keys and SSH agent, to avoid any interactive auth
> prompts.
>
> There is an alternative method +libssh2 which uses the libssh2 library
> instead of SSH binary. This allows libvirt to collect credentials via
> the openAuth() method.
>
> http://libvirt.org/remote.html#Remote_URI_reference
Thank you Daniel,
Decided to go with xen+ssh with public key authentication which works fine.
I notice a problem in several methods that returns:
"libvirt: Remote Driver error : unknown procedure: 273"
for example listDefinedDomains works fine:
In [104]: con.listDefinedDomains()
Out[104]...
2015 Nov 03
0
Re: xen+ssh with openauth
...le way to use the
+ssh method is with SSH keys and SSH agent, to avoid any interactive auth
prompts.
There is an alternative method +libssh2 which uses the libssh2 library
instead of SSH binary. This allows libvirt to collect credentials via
the openAuth() method.
http://libvirt.org/remote.html#Remote_URI_reference
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o-...
2015 Nov 11
0
Re: xen+ssh with openauth
...any interactive auth
> > prompts.
> >
> > There is an alternative method +libssh2 which uses the libssh2 library
> > instead of SSH binary. This allows libvirt to collect credentials via
> > the openAuth() method.
> >
> > http://libvirt.org/remote.html#Remote_URI_reference
> Thank you Daniel,
> Decided to go with xen+ssh with public key authentication which works fine.
> I notice a problem in several methods that returns:
> "libvirt: Remote Driver error : unknown procedure: 273"
>
> for example listDefinedDomains works fine:
> In [104]...