12 lines
356 B
Bash
Executable file
12 lines
356 B
Bash
Executable file
|
|
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 |