On 30/12/2020 02:01, Matthew Miller wrote:
On Wed, Dec 30, 2020 at 01:21:08AM +0800, Ed Greshko wrote:
>> On Tue, Dec 29, 2020 at 08:34:49AM +0800, Ed Greshko wrote:
>>>>> exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
>>>> sudo dnf install /usr/libexec/openssh/ssh-askpass
>>> That isn't necessary if one has copied their public key to the
>>> ~/.ssh/authorized_keys file on the remote host running which is running
>>> libvirtd.
>> Is that what it's complaining about? I assumed it wasn't properly
getting
>> the key from the GNOME keyring and therefore needed to run that to unlock
>> it.
> Yes. That is why it says "ssh".
Well, it specifically says that ssh-askpass is not found, not "ssh
authentication denied". So there might be a key that exists but isn't
unlocked.
You're right.
I just realized that all of my ssh keys were generated with empty pass phrases. To add to
my confused
state, I did a test from a VM which was installed via the Xfce spin. Unlike Workstation
and the KDE spin,
the Xfce spin installs openssh-askpass by default which I did not realize.
Now, with that in mind, it would have been good to know *how* the OP was starting
virt-manager since
these are 3 observations. With the ssh key and a pass phrase.
1. Starting virt-manager from the command line and openssh-askpass installed one gets a
GUI pop-up
requesting pass phrase.
2. Starting virt-manager from the command line without openssh-askpass installed one gets
a prompt
in the terminal for the pass-phrase.
3. Starting virt-manager from the menu without openssh-askpass installed results in a
pop-up as noted
by the OP. "Configure SSH key access for the remote host, or install an SSH askpass
package locally."
So, knowing #3 wold have given me a better chance of actually recreating the error. :-)
:-)
---
The key to getting good answers is to ask good questions.