用比较老旧的ssh客户端登陆Debian 8会报告algorithm negotiation field,解决办法是编辑/etc/ssh/sshd_config文件,加入下面内容:

ciphers aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,arcfour
KexAlgorithms diffie-hellman-group1-sha1

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

修改一项

PermitRootLogin without-password

改为

PermitRootLogin yes

 

然后重启sshd就可以了:

service ssh restart

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄