ntfy/examples/ssh-login-alert/pam_sshd
Philipp Heckel 4d48c5dc34 Examples
2021-11-08 20:15:13 -05:00

9 lines
260 B
Plaintext

# PAM config file snippet
#
# Put this snippet AT THE END of the file /etc/pam.d/sshd
# See https://geekthis.net/post/run-scripts-after-ssh-authentication/ for details.
# (lots of stuff here ...)
session optional pam_exec.so /usr/local/bin/ntfy-ssh-login.sh