I'm migrating some servers from RHEL6 to RHEL9, but I've hit a wall with SSH. It seems that RHEL9 doesn't accept SHA-1 or RSA keys anymore, and the OpenSSH versions are really different, making it impossible for my keys to work together. I'm looking for alternatives to using a jump box or lowering RHEL9's security settings with legacy options. Anyone have suggestions? Also, I'm trying to transfer a 2 TB database from my RHEL6 server to RHEL9, so I need a solution that works reliably.
5 Answers
I spent so much time figuring this out with my setup. You might just need to add two specific lines to RHEL9's SSH configuration. I’ll update this post once I find those lines for you.
If you’re only looking to transfer files, maybe set up a temporary NFS server? Just a thought since the networking situation might allow that.
Are you trying to rsync or sftp the files from RHEL6? If possible, it might be worth rebuilding your server directly on RHEL9 and migrating the data afterward. I’m a bit confused about how SSH is blocking your upgrade.
Have you thought about compiling the latest versions of OpenSSH on your RHEL6 server? There are resources on Stack Overflow that could guide you through that process. It might solve the compatibility issue. Can you clarify what you need, though? It’s a bit unclear from your post.
Consider adjusting the configuration on RHEL9 to allow deprecated keys temporarily for the migration. You can document this change and roll it back once you're done. It might be a smoother way to handle the transition.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures