Hello:
I have two Linux VMS. One of them runs on CentOS7, and the OpenSSH version of this CentOS7 VM is Open_SSH_9.1p1. When I use another Linux VM to connect to this CentOS7 VM, the connection fails. The error message displayed in CentOS7 logs is no matching host key type found. Their offer:ssh-rsa[preauth]. How can I solve the problem?
Ask for help:no matching host key type found. Their offer:ssh-rsa[preauth]
-
- Posts: 1
- Joined: 2023/04/11 15:47:55
Re: Ask for help:no matching host key type found. Their offer:ssh-rsa[preauth]
If you have openssh 9.1p1 on there then it's not a CentOS copy. CentOS 7 ships openssh-7.4p1-22.el7_9.x86_64 and that is what is supported.I have two Linux VMS. One of them runs on CentOS7, and the OpenSSH version of this CentOS7 VM is Open_SSH_9.1p1. When I use another Linux VM to connect to this CentOS7 VM, the connection fails. The error message displayed in CentOS7 logs is no matching host key type found. Their offer:ssh-rsa[preauth]. How can I solve the problem?
Newer openssh versions have deprecated various ciphers etc so thing that worked on older versions of openssh may no longer do so. In fact the release notes for openssh 9.1 say
I would guess that is what you are seeing.-----------
* ssh(1), sshd(8): add a RequiredRSASize directive to set a minimum
RSA key length. Keys below this length will be ignored for user
authentication and for host authentication in sshd(8).
ssh(1) will terminate a connection if the server offers an RSA key
that falls below this limit, as the SSH protocol does not include
the ability to retry a failed key exchange.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke