SSH报错:サーバーが応答「アルゴリズムのネゴシエーションに失敗しました」
その理由は、アップグレードSSH後、安全のために、もはや元のデフォルトの暗号化アルゴリズムの一部を使用して、手動で追加する必要があるということではありません
1、は、/ etc / ssh / sshd_configのの最後に追加
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、再起動
systemctl restart sshd.service
3、スタートからのブート:
systemctl enable sshd.service
4. [スタートアップの状態
systemctl status sshd.service