You can often ssh from newer systems to older systems by telling ssh
that it's allowed to use older options.

For example, to connect from ubuntu 22 to centos 5, my .ssh/config file has

  Host centos5.example.com
    KexAlgorithms +diffie-hellman-group1-sha1
    # ubuntu 22+ needs
    HostkeyAlgorithms +ssh-rsa
    PubkeyAcceptedKeyTypes +ssh-rsa

and I left myself a reference to:
    https://www.openssh.com/legacy.html

Hope someone finds that helpful - cheers

John


On Fri, 2023/08/04 09:58:44AM -0400, D. Hugh Redelmeier via talk 
<[email protected]> wrote:
| Recent Fedora systems' SSH client won't access CentOS 6 servers.
| 
|       Unable to negotiate with x.y.z.w port 22: no matching host key type 
|       found. Their offer: ssh-rsa,ssh-dss
| 
| (One should not still be running CentOS 6!)
| 
| All my workstations run recent Fedora systems.  How could I access this 
| server?
| 
| It turns out the Windows has an SSH client these days and it isn't as 
| picky about ciphers as Fedora.
| 
| It could well be that other Linux distros support older ciphers too.
| 
| This isn't generally a good thing: those ciphers were retired due to 
| security concerns.
| ---
| Post to this mailing list [email protected]
| Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk

Reply via email to