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).
## 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)