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

> ssh 10.0.0.1
> Unable to negotiate with 10.0.0.1 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