DeckPC style changes
[web-old.git] / articles / ssh-alerts-landchad-style.md
index 5996d7bd13c45fe7d7aa905c5152df7d69bb6ad1..349b24b2a3e3b20ce713bcf6e8bf25c63205ac4d 100644 (file)
@@ -3,7 +3,7 @@ How to setup SSH alerts like a landchad
 # Preface
 I recently installed ntfy to enable UnifiedPush on several apps on my phone
 in order to conserve battery life and make notifications work more real-time.
-That gave me the idea that I can use this same idea for creating SSH intrusion
+That gave me the idea that I can use this same setup for creating SSH intrusion
 alerts for my server for that extra peace of mind.
 
 ## Installing ntfy
@@ -110,7 +110,7 @@ Make it world-executable `chmod ugo+x ssh_login.sh` and edit `/etc/pam.d/sshd`.
 Append the following line to it: `session optional pam_exec.so seteuid /path/to/ssh_login.sh`.
 
 This will make the script be run every single time someone authenticates through SSH and also not block login if
-the script is not absent.
+the script is absent.
 
 Just to be sure, keep your current SSH session and alive and try opening a second one. If everything is done
 correctly, you should have a notification on your phone (or desktop if you subscribed on it as well).
@@ -118,7 +118,7 @@ correctly, you should have a notification on your phone (or desktop if you subsc
 ## Closing words
 I understand this may not be a fully elegant solution and there can be security implications here.
 I am open to improving this solution, a healthy dialogue is encouraged on the topic. So far this has been
-working without an issue. You can easily set it up with a public provider too (nfty themselves have a public 
+working without an issue. You can easily set it up with a public provider too (ntfy themselves have a public 
 instance!), but that would defeat the purpose of being a landchad.
 
 [The alert looks something like this (img size 33K)](/img/ssh-ntfy.png)