ssh no matching key exchange method found
Posted: Sun Jan 07, 2024 11:47 pm
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
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