Log from my node :
[root@dl360g9-1 ~]# tail -f -n0 /var/log/messages | grep sshd
Jun 21 10:15:50 dl360g9-1 sshd[35907]: rexec line 25: Deprecated option RSAAuthentication
Jun 21 10:15:50 dl360g9-1 sshd[35907]: Connection from 10.194.16.160 port 40858 on 10.194.16.150 port 2223
Jun 21 10:15:50 dl360g9-1 sshd[35907]: reprocess config line 25: Deprecated option RSAAuthentication
Jun 21 10:15:50 dl360g9-1 sshd[35907]: User ovirt-vmconsole not allowed because account is locked
Jun 21 10:15:50 dl360g9-1 sshd[35907]: input_userauth_request: invalid user ovirt-vmconsole [preauth]
Jun 21 10:15:50 dl360g9-1 sshd[35907]: Connection closed by 10.194.16.160 port 40858 [preauth]
Then I’ve tryto unlock the ovirt-vmconsole account:
[root@dl360g9-1 ~]# passwd -u ovirt-vmconsole -f
Unlocking password for user ovirt-vmconsole.
passwd: Success
[root@dl360g9-1 ~]#
Give another try and got this log:
[root@dl360g9-1 ~]# tail -f -n0 /var/log/messages | grep sshd
Jun 21 10:22:44 dl360g9-1 sshd[36199]: rexec line 25: Deprecated option RSAAuthentication
Jun 21 10:22:44 dl360g9-1 sshd[36199]: Connection from 10.194.16.160 port 40954 on 10.194.16.150 port 2223
Jun 21 10:22:44 dl360g9-1 sshd[36199]: reprocess config line 25: Deprecated option RSAAuthentication
Jun 21 10:22:44 dl360g9-1 sshd[36199]: User ovirt-vmconsole authorized keys /dev/null is not a regular file
Jun 21 10:22:44 dl360g9-1 sshd[36199]: Failed publickey for ovirt-vmconsole from 10.194.16.160 port 40954 ssh2: RSA SHA256:FWlv2d+MlM43y0QQvnZUAMHgvLh+rQ8jYtZsWh6KId4
Jun 21 10:22:44 dl360g9-1 sshd[36199]: Accepted certificate ID "vmconsole-proxy-user" (serial 0) signed by RSA CA SHA256:vmH4XmKfgYJBpJym9T+WK2y2abk9aniCh6TiuJcB1+U via /etc/pki/ovirt-vmconsole/ca.pub
Jun 21 10:22:44 dl360g9-1 sshd[36199]: Postponed publickey for ovirt-vmconsole from 10.194.16.160 port 40954 ssh2: RSA SHA256:FWlv2d+MlM43y0QQvnZUAMHgvLh+rQ8jYtZsWh6KId4 [preauth]
Jun 21 10:22:44 dl360g9-1 sshd[36199]: Accepted certificate ID "vmconsole-proxy-user" (serial 0) signed by RSA CA SHA256:vmH4XmKfgYJBpJym9T+WK2y2abk9aniCh6TiuJcB1+U via /etc/pki/ovirt-vmconsole/ca.pub
Jun 21 10:22:44 dl360g9-1 sshd[36199]: error: key_verify: error in libcrypto
Jun 21 10:22:44 dl360g9-1 sshd[36199]: Failed publickey for ovirt-vmconsole from 10.194.16.160 port 40954 ssh2: RSA-CERT ID vmconsole-proxy-user (serial 0) CA RSA SHA256:vmH4XmKfgYJBpJym9T+WK2y2abk9aniCh6TiuJcB1+U
Jun 21 10:22:44 dl360g9-1 sshd[36199]: Connection closed by 10.194.16.160 port 40954 [preauth]
So it looks like is wrong with my cert refered in /usr/share/ovirt-vmconsole/ovirt-vmconsole-host/ovirt-vmconsole-host-sshd/sshd_config on my nodes. How to retrieve the
good certificate and the Hostkey?
HostCertificate /etc/pki/ovirt-vmconsole/host-ssh_host_rsa-cert.pub
HostKey /etc/pki/ovirt-vmconsole/host-ssh_host_rsa