diff options
Diffstat (limited to 'playbooks.d/ssh/share')
-rw-r--r-- | playbooks.d/ssh/share/notify.sh | 8 | ||||
-rw-r--r-- | playbooks.d/ssh/share/sshd_config.bpt (renamed from playbooks.d/ssh/share/sshd_config) | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/playbooks.d/ssh/share/notify.sh b/playbooks.d/ssh/share/notify.sh deleted file mode 100644 index 00e0b9f..0000000 --- a/playbooks.d/ssh/share/notify.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -if [ "$PAM_TYPE" != "open_session" ] -then - exit 0 -fi - -ntfy send "$PAM_USER@$(hostname -f)" "Login Succesful" diff --git a/playbooks.d/ssh/share/sshd_config b/playbooks.d/ssh/share/sshd_config.bpt index 900ed34..f1976a5 100644 --- a/playbooks.d/ssh/share/sshd_config +++ b/playbooks.d/ssh/share/sshd_config.bpt @@ -8,7 +8,7 @@ ListenAddress :: PrintMotd yes # SFTP -Subsystem sftp ${sftp} +Subsystem sftp {{sftp}} # Authentication AuthorizedKeysFile /etc/ssh/authorized_keys .ssh/authorized_keys |