By default diffie-hellman-group14-sha1 is disabled in Red Hat 9 or Rocky Linux.

> ssh
> Unable to negotiate with port 22: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1

You can enable the support for the key exchange method:

> update-crypto-policies --set DEFAULT:SHA1
> reboot the server

! you should consider updating the remote site thou !

computer2know :: thank you for your visit :: have a nice day :: © 2024