昨天下午在公司摸鱼,让 LLM 分析 Termius 频繁断连原因时,意外发现有人一直用密码爆破我frp出去的ssh公网端口,频率大概10w/d
还好当初部署出去的时候把用户名密码全改成16位随机字符串了,要不然早让人家爆破干净了(之前爱用一位数字当密码
🤡)
赶紧远程过去,关掉主机的密码登录
PasswordAuthentication no
KbdInteractiveAuthentication no
PermitRootLogin no
这样客户端只能用密钥登录,虽然攻击面少了,但还是管不住日志一直打
这帮赛博孙子
😡#whisper #ssh #frp