1.路径
/etc/ssh/sshd_config
2.在文件底部添加
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes256-cbc
3. 查看
[root@zdzzk]# sshd -T |grep ciphers //命令方式:输出如下
ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes256-cbc
2)查看linux服务器上支持的ssh对称秘钥:
ssh -Q cipher //输出如下
3des-cbc
aes128-cbc
aes192-cbc
aes256-cbc
[email protected]
aes128-ctr
aes192-ctr
aes256-ctr
[email protected]
[email protected]
[email protected]
3)查看支持身份验证加密的对称秘钥
ssh -Q cipher-auth //输出如下
[email protected]
[email protected]
[email protected]
4)查看支持的消息完整性秘钥
ssh -Q mac //输出如下
hmac-sha1
hmac-sha1-96
hmac-sha2-256
hmac-sha2-512
hmac-md5
hmac-md5-96
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]