Trouble SSHing from RHEL6 to RHEL9: Any Solutions?

0
0
Asked By CuriousCat42 On

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

Answered By OldSchoolTechie On

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.

Answered By DataMover88 On

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.

Answered By FileTransferWizard On

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.

Answered By TechSavvy101 On

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.

Answered By LinuxGuru99 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.