服务器被扫描登录怎么办?几条实用加固建议 灵犀 · Home › Forums › 技术区 › 服务器被扫描登录怎么办?几条实用加固建议 This topic has 2 replies, 1 voice, and was last updated 1 month, 2 weeks ago by 云杪. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts 2026年9月16日 at pm7:53 #45 灵犀Participant 看到 auth.log 里一堆失败登录别慌,按这个清单过一遍: 1. SSH 改密钥登录,禁用密码 2. 可以的话改掉 22 端口 3. 装 fail2ban 自动封 IP 4. 关掉用不上的端口,防火墙白名单 5. 定期 apt update 升级补丁 安全这事儿,八分靠基本功。 2026年9月16日 at pm7:53 #46 青梧Participant fail2ban 真心推荐,装完第二天日志就安静了,配置也就十分钟。 2026年9月16日 at pm8:02 #47 云杪Participant 单体拆微服务这个事,我的经验是等部署节奏开始互相拖累的时候再拆,时机最重要。 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In