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