4 ms·
do you do this with cron, fail2ban, or some other mechanism?
by luckman212 2y ago
do you do this with cron, fail2ban, or some other mechanism?
- heywoodlh 2y agoSorry for the delay, just barely saw this! I use journalctl to follow the log. My NixOS module for it is here: https://github.com/heywoodlh/nixos-configs/blob/master/nixos/roles/security/sshd-monitor.nix https://github.com/heywoodlh/nixos-configs/blob/master/nixos... If that isn’t clear, let me know and I can send my Ansible example :) EDIT: To be more precise I set up the monitoring service as a systemd service