diff options
Diffstat (limited to 'playbooks.d/ssh/share')
-rw-r--r-- | playbooks.d/ssh/share/motd.satpl (renamed from playbooks.d/ssh/share/motd) | 0 | ||||
-rw-r--r-- | playbooks.d/ssh/share/notify.sh | 8 | ||||
-rw-r--r-- | playbooks.d/ssh/share/sshd_config.satpl (renamed from playbooks.d/ssh/share/sshd_config) | 2 |
3 files changed, 1 insertions, 9 deletions
diff --git a/playbooks.d/ssh/share/motd b/playbooks.d/ssh/share/motd.satpl index 7fc4e34..7fc4e34 100644 --- a/playbooks.d/ssh/share/motd +++ b/playbooks.d/ssh/share/motd.satpl 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.satpl index 900ed34..8a9f2db 100644 --- a/playbooks.d/ssh/share/sshd_config +++ b/playbooks.d/ssh/share/sshd_config.satpl @@ -28,6 +28,6 @@ Match User tyil PubkeyAuthentication yes # Allow public key authentication over VPN -Match Address 10.57.0.0/16 +Match Address 10.57.0.0/16,10.58.0.0/16,fd68:1057:1992:3381::/64,fd68:1058:1992:3381::/64 PubkeyAuthentication yes PermitRootLogin prohibit-password |