How to disable weak algorithms used by openssh. System used is almalinux, but rocky, redhat, centos, and oracle linux are the same. Versions 7 and above use a default system crypto policy that affects openssh.
The weak algorithms will be disabled by telling open ssh to ignore the system policy, followed by adding a sub policy as an alternative.
Links:
https://access.redhat.com/articles/36...
https://access.redhat.com/documentati...