From 9656316032749fed3338a34e7930e7c487b9ef00 Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Wed, 26 Jun 2024 10:44:18 +0200 Subject: [PATCH] a --- common/services/ssh.sh | 12 ------------ common/services/sshd.nix | 2 -- 2 files changed, 14 deletions(-) delete mode 100755 common/services/ssh.sh diff --git a/common/services/ssh.sh b/common/services/ssh.sh deleted file mode 100755 index 41dd404..0000000 --- a/common/services/ssh.sh +++ /dev/null @@ -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 \ No newline at end of file diff --git a/common/services/sshd.nix b/common/services/sshd.nix index ba77a13..e06e6da 100644 --- a/common/services/sshd.nix +++ b/common/services/sshd.nix @@ -41,8 +41,6 @@ X11Forwarding no AllowAgentForwarding no AllowStreamLocalForwarding no - - # ForceCommand /home/tasia/Desktop/nixos-config/common/services/ssh.sh ''; };