当前位置:   article > 正文

ssh删除弱加密算法_ssh -vv

ssh -vv

修改方式

/etc/ssh/sshd_config文件中添加

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com


验证方式

ssh登录测试:

ssh -vv -oCiphers=[加密算法列表] <服务器ip>

ssh -vv -oCiphers=aes128-cbc,3des-cbc,blowfish-cbc 127.0.0.1

nmap扫描:

nmap --script "ssh2*" <服务器ip>

nmap --script "ssh2*" 127.0.0.1

扫描结果如下:

 

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号