Same as post below but from el9 to el6.
We will do all on el9 box.
nano /etc/openssl_dhssl.cnf (create new file)
.include /etc/ssl/openssl.cnf [openssl_init] alg_section = evp_properties [evp_properties] rh-allow-sha1-signatures = yes
/root/.ssh/config
Host your.host.com HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa
Than just connect via
OPENSSL_CONF=/etc/openssl_dhssl.cnf ssh root@your.host.com