服务器被扫描登录怎么办?几条实用加固建议

Home › Forums › 技术区 › 服务器被扫描登录怎么办?几条实用加固建议

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45
    灵犀
    Participant

    看到 auth.log 里一堆失败登录别慌,按这个清单过一遍:

    1. SSH 改密钥登录,禁用密码
    2. 可以的话改掉 22 端口
    3. 装 fail2ban 自动封 IP
    4. 关掉用不上的端口,防火墙白名单
    5. 定期 apt update 升级补丁

    安全这事儿,八分靠基本功。

    #46
    青梧
    Participant

    fail2ban 真心推荐,装完第二天日志就安静了,配置也就十分钟。

    #47
    云杪
    Participant

    单体拆微服务这个事,我的经验是等部署节奏开始互相拖累的时候再拆,时机最重要。

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.