1 |
On Sunday, 26 December 2021 17:00:46 GMT Neil Bothwick wrote: |
2 |
> On Sun, 26 Dec 2021 11:42:41 -0500, Philip Webb wrote: |
3 |
> > I want to login to a remote site <aaaaa.bbbbbbbb.cc> using 'ssh'. |
4 |
> > The response I get is "Unable to negotiate with <nnn.nnn.nnn.n> port |
5 |
> > <nn>: no matching host key type found. Their offer: ssh-rsa,ssh-dss". |
6 |
> |
7 |
> > Yesterday, I updated 'openssh' : |
8 |
> It sounds like the host may be running an old version of sshd that only |
9 |
> offers ciphers that are now disabled by default in newer releases. You |
10 |
> can get round this by enabling those ciphers for this host, with |
11 |
> something like this in ssh_config |
12 |
> |
13 |
> Host aaaaa.bbbbbbbb.cc |
14 |
> Ciphers +ssh-rsa |
15 |
|
16 |
The initial error is about "no matching host key type", so the option needed |
17 |
would be: |
18 |
|
19 |
HostKeyAlgorithms +ssh-rsa |
20 |
|
21 |
After which another error may pop up, probably about Ciphers. ;-) |