CENTOS-9 SSH PROBLEM

Issues related to applications and software problems and general support
Post Reply
denizci_34
Posts: 1
Joined: 2023/09/14 13:59:51

CENTOS-9 SSH PROBLEM

Post by denizci_34 » 2023/09/14 14:05:59

We use "CentOS-Stream-GenericCloud-9-20221123.0.x86_64.qcow2" image and create a virtual machine and want to get inside with ssh-key but we can not. Besides, We use the same ssh-keys on Centos7 and Centos8 and we can get inside. How can we solve this problem?

User avatar
TrevorH
Site Admin
Posts: 32963
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CENTOS-9 SSH PROBLEM

Post by TrevorH » 2023/09/14 14:50:21

RHEL 9 has tightened security and deprecated a number of algorithms and ciphers. It's most likely that the key you are trying to use does not meet the new requirements. Try with a newer key.
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

User avatar
jlehtone
Posts: 4406
Joined: 2007/12/11 08:17:33
Location: Finland

Re: CENTOS-9 SSH PROBLEM

Post by jlehtone » 2023/09/14 15:44:18

The RSA keys have to be at least 2048 bits.
See https://access.redhat.com/documentation ... c-policies

I've shifted to ed25519 keys. They work on el7, el8, and el9.

Post Reply