From 80eb8e56da51a16a62edf372a4d23d423d7b9ee1 Mon Sep 17 00:00:00 2001 From: Pierre Guillod Date: Thu, 3 Aug 2023 10:20:03 +0200 Subject: [PATCH] add ntfy --- ntfy-ssh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 ntfy-ssh diff --git a/ntfy-ssh b/ntfy-ssh new file mode 100755 index 0000000..97a2d23 --- /dev/null +++ b/ntfy-ssh @@ -0,0 +1,9 @@ +#!/bin/bash +curl -s \ + -X POST \ + -H prio:high \ + -H tags:warning \ + -d "SSH Activity + Connection ${SSH_CONNECTION}" \ + https://dring.slowte.ch/ssh \ + > /dev/null