关于页面重定向https安全漏洞和服务器SSH加密算法漏洞

1.HTTP 严格传输安全 nginx配置
add_header Strict-Transport-Security “max-age=63072000; includeSubdomains; preload”;

2.openssh中传输数据加密算法
进入:vi /etc/ssh/sshd_config
添加:
Ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
刷新sshd_config
systemctl restart sshd

posted @   sowler  阅读(33)  评论(0编辑  收藏  举报  
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」
点击右上角即可分享
微信分享提示