V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
rosebush373
V2EX  ›  问与答

debian13 无法用 lastb 查看登录失败的记录,其他的方式都不成功,各位用 debian13 的都用的是什么命令呢

  •  
  •   rosebush373 · 23 天前 · 1060 次点击
    2 条回复    2025-08-24 00:15:35 +08:00
    psllll
        2
    psllll  
       23 天前 via Android   ❤️ 1
    lslogins --failed 不详细

    目前只能用 journalctl 查
    sudo journalctl -u ssh | grep -E "Failed|Invalid|error|authentication failure"
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3223 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:03 · PVG 08:03 · LAX 17:03 · JFK 20:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.