Examples
This commit is contained in:
parent
b9b53bcdf0
commit
4d48c5dc34
4 changed files with 15 additions and 0 deletions
8
examples/ssh-login-alert/pam_sshd
Normal file
8
examples/ssh-login-alert/pam_sshd
Normal file
|
@ -0,0 +1,8 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue