This commit is contained in:
Tasia Iso 2024-06-26 10:44:18 +02:00
parent f81f065148
commit 9656316032
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
2 changed files with 0 additions and 14 deletions

View file

@ -1,12 +0,0 @@
if [[ -n $SSH_CONNECTION ]] ; then
curl \
-H "Title: New SSH session" \
-H "Priority: urgent" \
-H "Tags: urgent" \
-d "$(cat /etc/hostname ): ssh sessifsfsqqfqsqsfon ($SSH_CONNECTION)" \
ntfy.sh/tasiaiso_alerts &> /dev/null # Please don't make me learn how to manage secrets
fi
/run/current-system/sw/bin/zsh

View file

@ -41,8 +41,6 @@
X11Forwarding no X11Forwarding no
AllowAgentForwarding no AllowAgentForwarding no
AllowStreamLocalForwarding no AllowStreamLocalForwarding no
# ForceCommand /home/tasia/Desktop/nixos-config/common/services/ssh.sh
''; '';
}; };