Watch interactive logins (who) and alert when a session appears after a learn window and is not allowlisted.
sessions:
enabled: true
learn_sec: 120
poll_sec: 15
allow_users: [] # empty = any user after learn is unexpected
allow_cidrs: [] # optional source IP allowlistAfter learn: Kick tty / Ban IP (unlock-gated). Kick ends the login session on that TTY; Ban adds a temporary nft drop when response mode allows.
- Learn on a quiet box so your own SSH is in the baseline.
- Complements agent root watch (ROOT_WATCH.md) — different signal (login vs uid=0 process).
See TELEGRAM.md, DAY0_VPS.md.