Displaying 20 results from an estimated 60000 matches similar to: "Libvirt and libssh2 with openauth"
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
On 03.11.15 15:37, Daniel P. Berrange wrote:
> On Tue, Nov 03, 2015 at 10:14:00AM +0200, Shahar Havivi wrote:
> > Hi,
> >
> > I am trying to connect to remote libvirt via script,
> > and I get password prompt from the shell.
> >
> >
> > ============================================================================
> >
2014 Jun 06
2
Libvirt Python Bindings - Remote Connection using openAuth.
Hi,
I am using libvirt with python binding, and I want to connect to a remote
host.
I was able to connect after making ssh certificate, but It is not
applicable for my project.
So I want to use openAuth() method, but I could not succeed connecting to a
remote host using it.
Here is my code
------------------------
import libvirt
USER = "root"
PASS = "mypasswd"
def
2014 Jun 06
1
Re: Libvirt Python Bindings - Remote Connection using openAuth.
Martin,
What do you mean by libvirt credentials...?
-Sijo
On Fri, Jun 6, 2014 at 1:57 PM, Martin Kletzander <mkletzan@redhat.com>
wrote:
> On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote:
>
>> Hi,
>> I am using libvirt with python binding, and I want to connect to a remote
>> host.
>> I was able to connect after making ssh certificate, but It
2014 Mar 26
2
Libvirt libssh2 authentication
Hi,
I am working on a java application using libvirt java API (version 0.4.7)
and i would like to authenticate through ssh within my application (no need
for the user to type his password). How can i submit SSH authentication
credentials to libvirt?
I am trying to get it working using libssh2 callback, but i get the error:
"SSH transport error: no suitable method to retrieve authentication
2010 Sep 30
1
Ruby-libvirt and openAuth
Hello,
It looks like the Ruby bindings do not support virConnectOpenAuth. Is this
true? If so, is there any reason why? or plans to?
Thanks,
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100930/b4267ba7/attachment.htm>
2015 Nov 11
0
Re: xen+ssh with openauth
On Wed, Nov 11, 2015 at 01:02:34PM +0200, Shahar Havivi wrote:
> On 03.11.15 15:37, Daniel P. Berrange wrote:
> > On Tue, Nov 03, 2015 at 10:14:00AM +0200, Shahar Havivi wrote:
> > > Hi,
> > >
> > > I am trying to connect to remote libvirt via script,
> > > and I get password prompt from the shell.
> > >
> > >
> > >
2015 Nov 03
0
Re: xen+ssh with openauth
On Tue, Nov 03, 2015 at 10:14:00AM +0200, Shahar Havivi wrote:
> 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
2014 Jun 06
0
Re: Libvirt Python Bindings - Remote Connection using openAuth.
On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote:
>Hi,
>I am using libvirt with python binding, and I want to connect to a remote
>host.
>I was able to connect after making ssh certificate, but It is not
>applicable for my project.
>So I want to use openAuth() method, but I could not succeed connecting to a
>remote host using it.
>
>Here is my code
2012 Aug 26
1
question about using openAuth with Python
Hi guys
Is anybody can help me how to use openAuth to connect a remote URI without
input the boring password? we assume the password of root for remote
machine is "123456".
Even I running the example in libvirt library esxlist.py(change uri to a
qemu type and assign the username and password).
Bellow is my simple test code, unfortunately it still need me to input the
password.
2014 Nov 03
2
Re: fstrim support in libvirt/qemu guests
On Mon, Nov 3, 2014 at 4:24 PM, Michal Privoznik <mprivozn@redhat.com> wrote:
> On 01.11.2014 05:30, Dennis Jacobfeuerborn wrote:
>>
>> Hi,
>> I'm trying to find out how to enable fstrim support for libvirt/qemu
>> guests. Specifically I'm trying to enable this on a CentOS 7 host (qemu
>> 1.5). I searched the web but only found very vague information
2014 Mar 27
0
Re: Libvirt libssh2 authentication
At Wed, 26 Mar 2014 17:25:24 +0100,
David Dias wrote:
>
> Hi,
>
> I am working on a java application using libvirt java API (version 0.4.7)
> and i would like to authenticate through ssh within my application (no need
> for the user to type his password). How can i submit SSH authentication
> credentials to libvirt?
>
> I am trying to get it working using libssh2
2014 Nov 01
2
fstrim support in libvirt/qemu guests
Hi,
I'm trying to find out how to enable fstrim support for libvirt/qemu
guests. Specifically I'm trying to enable this on a CentOS 7 host (qemu
1.5). I searched the web but only found very vague information and no
clear documentation on the requirements or how to modify the guest xml
to enable discard/fstrim support.
Can someone point me in the right direction?
Regards,
Dennis
2015 Oct 26
2
unable to dissect libvirt rpc packets using wireshark plugin
Hi,
I am trying libvirt plugin in wireshark to dissect RPC payload in TCP, but
finding dissector code not really working.
My env is Fedora core 21 (x86_64) and installed packages are as follow:
wireshark-1.12.6-1.fc21.x86_64
libvirt-wireshark-1.2.9.3-2.fc21.x86_64
Earlier, just after installation, I noticed libvirt.so available only in
/usr/lib64/wireshark/plugins/1.12.5/ . Wireshark
2016 Jan 07
2
Re: unable to dissect libvirt rpc packets using wireshark plugin
Thank you Michal.
With your pcap, I could confirm that, libvirt dissector worked in my
environment as well.
Yes, it could be that, my pcap do not have libvirt rpc packets correctly
though I would have
expected. I am checking on it.
Regards,
Gowrishankar
On Thursday 07 January 2016 03:51 PM, Michal Privoznik wrote:
> On 07.01.2016 08:05, gowrishankar wrote:
>> Hi Michal,
>>
2013 Aug 08
3
Re: libvirt possibly ignoring cache=none ?
On Thu, Aug 8, 2013 at 9:39 AM, Martin Kletzander <mkletzan@redhat.com> wrote:
> At first let me explain that libvirt is not ignoring the cache=none.
> This is propagated to qemu as a parameter for it's disk. From qemu's
> POV (anyone feel free to correct me if I'm mistaken) this means the file
> is opened with O_DIRECT flag; and from the open(2) manual, the O_DIRECT
2016 Jan 07
2
Re: unable to dissect libvirt rpc packets using wireshark plugin
Hi Michal,
Thank you for your suggestion. My apologies that I took sometime to get back
on further confirmation. Regrettably, my tshark is still unable to find
libvirt payload
inside packet capture, though it lists libvirt as a possible filter.
# rpm -ql libvirt-wireshark-1.2.9.3-2.fc21.x86_64
/usr/lib64/wireshark/plugins/1.12.5/libvirt.so
As I used wireshark 1.12.6 version, I
2013 May 01
1
libvirt-snmp on Ubuntu
Hi,
Are there packages of "libvirt-snmp" for Ubuntu? Or instructions to compile libvirt-snmp on Ubuntu?
Looks like the instructions given at http://wiki.libvirt.org/page/Libvirt-snmp are for RedHat.
Thank you,
George
2014 Jan 13
2
Re: libvirt on armhf with selinux driver
On 01/13/2014 04:50 PM, Michal Privoznik wrote:
> On 13.01.2014 16:10, Ivan Gooten wrote:
>> hi,
>>
>> recently i've been busy with libvirt(d) v1.2.0 on armhf and i see, even
>> if selinux sec driver is enabled on the configure stage, the driver is
>> not finally created. these configure parameters are:
>>
>> --with-selinux
>>
2018 Oct 18
2
Re: KVM + libvirt + nftables without iptables?
On 10/18/2018 10:14 AM, Daniel P. Berrangé wrote:
> On Wed, Oct 17, 2018 at 05:57:11PM +0200, Roman Vesely wrote:
>> Hi everyone,
>>
>> I use Debian 9.5 Stretch and NFTABLES as a firewall.
>> Using NFTABLES together with IPTABLES is not recommended,
>> but libvirt depends on IPTABLES.
>>
>> Is it safe to run libvirt + kvm + virsh without IPTABLES?