Dog

处理:使用man sshd_config查看Ciphers项可以看到sshd支持的算法(如下图所示)

 

 

 

处理办法是在sshd_config中配置Ciphers项,添加以下配置,然后重启sshd即可。

# vim /etc/ssh/sshd_config

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,arcfour

 

使用SSH针对CBC分组类型的加密算法进行检查,若最后出现如图的内容,则证明成功

#ssh -vv -oCiphers=aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc 127.0.0.1

 

 

 

posted on 2022-01-11 11:40  HanxDog  阅读(3873)  评论(1编辑  收藏  举报