ssh no matching key exchange method found

Post Reply
zemerdon
Site Admin
Posts: 255
Joined: Mon Jan 23, 2023 8:13 pm

ssh no matching key exchange method found

Post by zemerdon »

zemerdon@NAS:~$ ssh 192.168.1.9
Unable to negotiate with 192.168.1.9 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

zemerdon@NAS:~$ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c aes256-ctr zemerdon@192.168.1.9


~/.ssh/config

Code: Select all

host 192.168.2.5
        HostkeyAlgorithms +ssh-rsa
        PubkeyAcceptedAlgorithms +ssh-rsa
Post Reply