Fedora 36’s OpenSSH 8.8p1 can’t connect to a server with a much older version

,

I have access to some old server.
This is my working solution:

ssh -o HostKeyAlgorithms=ssh-rsa -o KexAlgorithms=diffie-hellman-group1-sha1 serveraddress

As wrote by @ankursinha you can put these options in the ~/.ssh/config file.

3 Likes