Re: libvirt ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/04/2018 04:53 PM, Alberto Sosa wrote:
> Hi!
> My name is Alberto and I'm computer science student. I'm doing my final degree project that consist on a web interface for vm management using libvirt, python and flask.
> I'm stuck on making connections via SSH: I tried to get username and password from html form but libvirt.open('qemu+ssh....') prompts the password via terminal. How can I passthrough password prompt using python?
> 

There isn't any way with qemu+ssh unfortunately, it spawns an external
ssh process and we can't really control interaction with it. Dan
explained it a bit here before:

https://www.redhat.com/archives/libvirt-users/2013-April/msg00093.html

Nowadays there's also qemu+libssh which can be combined with openAuth to
do password callback handling, but I haven't tried it myself

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux