rosebush373
V2EX  ›  问与答

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

  •  
  •   rosebush373 · Aug 23, 2025 · 1693 views
    This topic created in 289 days ago, the information mentioned may be changed or developed.
    2 replies    2025-08-24 00:15:35 +08:00
    psllll
        2
    psllll  
       Aug 24, 2025 via Android   ❤️ 2
    lslogins --failed 不详细

    目前只能用 journalctl 查
    sudo journalctl -u ssh | grep -E "Failed|Invalid|error|authentication failure"
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1159 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 23:21 · PVG 07:21 · LAX 16:21 · JFK 19:21
    ♥ Do have faith in what you're doing.