pam_sshd 260 B

12345678
  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. # (lots of stuff here ...)
  6. session optional pam_exec.so /usr/local/bin/ntfy-ssh-login.sh