ssh报错:server responded "algorithm negotiation failed"
The reason is that after upgrading SSH, for safety, no longer using some of the original default encryption algorithm, you need to manually add
1, add at the end of / etc / ssh / sshd_config of
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,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,curve25519-sha256@libssh.org
2, restart
systemctl restart sshd.service
3, boot from the start:
systemctl enable sshd.service
4. View startup state
systemctl status sshd.service