Re: libvirt tools and keyfiles

2022-04-03 Thread Celejar
On Sun, 03 Apr 2022 10:45:06 +0200 didier gaumet wrote: > > > Hello, > > - Yes, I was suggesting both running VMs as an ordinary user instead of > root and running VMs as session instead of system > - But myself not running any VM as a server, I was not aware of the > limitations inherent to

Re: libvirt tools and keyfiles

2022-04-03 Thread didier gaumet
Hello, - Yes, I was suggesting both running VMs as an ordinary user instead of root and running VMs as session instead of system - But myself not running any VM as a server, I was not aware of the limitations inherent to the use of "session" compared to "system" - SSH tunnel: I was just saying

Re: libvirt tools and keyfiles

2022-04-02 Thread Celejar
On Sat, 02 Apr 2022 09:53:18 +0200 didier gaumet wrote: ... > - double authentication: "When using a SSH tunnel to connect to a SPICE > console, it's recommended to have ssh-agent running to avoid getting > multiple authentication prompts." > > (take a look at virtsh, virt-manager, virt-viewer

Re: libvirt tools and keyfiles

2022-04-02 Thread Celejar
On Sat, 02 Apr 2022 22:40:30 +0200 Linux-Fan wrote: > Celejar writes: > > > Hi, > > > > I'm trying to use virt-manager / virt-viewer to access the console of > > some qemu / kvm virtual machines on a remote system over ssh. I have > > public key access to root@remote_system. When I do: > > > >

Re: libvirt tools and keyfiles

2022-04-02 Thread Celejar
On Sun, 3 Apr 2022 03:43:10 +1200 Richard Hector wrote: > > > On 2022-04-01, Celejar wrote: > >> > >> > >> What is going on here? Since I'm specifying a keyfile on the command > >> line, and it's being used - otherwise I wouldn't even get the list of > >> VMs - why am I being prompted for the

Re: libvirt tools and keyfiles

2022-04-02 Thread Celejar
On Sat, 2 Apr 2022 08:05:52 - (UTC) Curt wrote: > On 2022-04-01, Celejar wrote: > > > > > > What is going on here? Since I'm specifying a keyfile on the command > > line, and it's being used - otherwise I wouldn't even get the list of > > VMs - why am I being prompted for the password? > >

Re: libvirt tools and keyfiles

2022-04-02 Thread Celejar
On Sat, 02 Apr 2022 09:53:18 +0200 didier gaumet wrote: > > > Hello, > > Disclaimer: I do not use ssh, nor remote virtual machines, so this is > far from an expert answer :-) Thanks for the suggestions! > You could be confronted to several possible problems: > - root access: you could try

Re: libvirt tools and keyfiles

2022-04-02 Thread Linux-Fan
Celejar writes: Hi, I'm trying to use virt-manager / virt-viewer to access the console of some qemu / kvm virtual machines on a remote system over ssh. I have public key access to root@remote_system. When I do: virt-manager -c 'qemu+ssh://root@remote_system/system?

Re: libvirt tools and keyfiles

2022-04-02 Thread Richard Hector
On 2022-04-01, Celejar wrote: What is going on here? Since I'm specifying a keyfile on the command line, and it's being used - otherwise I wouldn't even get the list of VMs - why am I being prompted for the password? Celejar Apologies for replying to the wrong message - I've deleted the

Re: libvirt tools and keyfiles

2022-04-02 Thread Curt
On 2022-04-01, Celejar wrote: > > > What is going on here? Since I'm specifying a keyfile on the command > line, and it's being used - otherwise I wouldn't even get the list of > VMs - why am I being prompted for the password? > > Celejar > > Aren't you required to copy the key over to the

Re: libvirt tools and keyfiles

2022-04-02 Thread didier gaumet
Hello, Disclaimer: I do not use ssh, nor remote virtual machines, so this is far from an expert answer :-) You could be confronted to several possible problems: - root access: you could try using an ordinary user instead - "system" problem: virt-manager/virt-viewer propose "system" and

libvirt tools and keyfiles

2022-04-01 Thread Celejar
Hi, I'm trying to use virt-manager / virt-viewer to access the console of some qemu / kvm virtual machines on a remote system over ssh. I have public key access to root@remote_system. When I do: virt-manager -c 'qemu+ssh://root@remote_system/system? keyfile=path_to_private_key' the connection