Ubuntu 15.10 When you install Openssh-server, you may report this error when you connect using an SSH client, as shown in
Server responded "algorithm negotiation failed"
Workaround
Modify the configuration file for SSH/etc/ssh/sshd_config
In the configuration file, add:
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256, Arcfour,blowfish-cbc,cast128-cbc
MACs HMAC-MD5,HMAC-SHA1,[email protected], hmac-ripemd160,hmac-sha1-96,hmac-md5-96
Kexalgorithms DIFFIE-HELLMAN-GROUP1-SHA1,DIFFIE-HELLMAN-GROUP14-SHA1,DIFFIE-HELLMAN-GROUP-EXCHANGE-SHA1, diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521, DIFFIE-HELLMAN-GROUP1-SHA1,[email protected]
After restarting the SSHD service (sudo services ssh restart), you can connect normally
Server responded "algorithm negotiation failed"