1 2 3 4
#!/bin/sh DBFILE=$1 shift /usr/bin/journalctl -afb -p info -n1 "$@" | /usr/bin/sshguard -l- -b $DBFILE