Virtual Machine Manager Connection Failure

I’m running KVM on a bare bone Fedora server and manage the KVMs via Virtual Machine Manger from a Fedora 37 Workstation.

This worked all along but after restarting my laptop and package updates VMM doesn’t connect any longer. I get the following error message. How can I fix this issue?

Unable to connect to libvirt qemu+ssh://root@192.168.2.100/system.

Configure SSH key access for the remote host, or install an SSH askpass package locally.

Libvirt URI is: qemu+ssh://root@192.168.2.100/system

Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/connection.py”, line 923, in _do_open
self._backend.open(cb, data)
File “/usr/share/virt-manager/virtinst/connection.py”, line 171, in open
conn = libvirt.openAuth(self._open_uri,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib64/python3.11/site-packages/libvirt.py”, line 147, in openAuth
raise libvirtError(‘virConnectOpenAuth() failed’)
libvirt.libvirtError: Cannot recv data: ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
root@192.168.2.100: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).: Connection reset by peer

Make sure that key based authentication works correctly:

ssh root@192.168.2.100 pwd

Also check the output:

sudo dnf install openssh-askpass

Thanks. Once I recreated the keys it worked ok.

Do these keys expire?

The crypto-policy that defines allowed algorithms and key lengths can “expire”:
Changes/StrongCryptoSettings2 - Fedora Project Wiki

In addition, ownership/permissions/labels on key files may have been altered.