I am unable to ssh to a server that asks for a
diffie-hellman-group1-sha1 key exchange method:
ssh 22.214.171.124 Unable to negotiate with 126.96.36.199 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
How to enable the
diffie-hellman-group1-sha1 key exchange method on Debian 8.0?
I have tried (as proposed here) to
add the following lines to my
KexAlgorithms diffie-hellman-group1-sha1,firstname.lastname@example.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
regenerate keys with
restart ssh with
service ssh restart
but still get the error.