Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Honey, I broke public-key logins



On Mon, 1 Nov 2021 at 15:08, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
>
> On Mon, Nov 01, 2021 at 02:35:56PM +0000, Chavdar Ivanov wrote:
> > $ ssh 192.168.0.51
> > Unable to negotiate with 192.168.0.51 port 22: no matching key
> > exchange method found. Their offer:
> > gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> > ...
>
> Try KexAlgorithms?

Bingo. With .ssh/config like:

Host s10u11.lorien.lan
    HostkeyAlgorithms  +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa
    KexAlgorithms +diffie-hellman-group14-sha1

I can ssh to the Solaris 10 host. Mind you, one has to specify the
hostname exactly as it is written in this file - the IP address or
just the (resolving) name are not enough.

Chavdar

>
> Joerg



-- 
----


Home | Main Index | Thread Index | Old Index