Initial import

This commit is contained in:
Glenn Y. Rolland 2023-01-12 19:56:15 +01:00
commit 4622092c08

29
README.md Normal file
View file

@ -0,0 +1,29 @@
# Ntfy SSH Access
Notify when users are signing on your servers via SSH.
(WORK IN PROGRESS: do not use in production)
## Roadmap
* :x: setup VM for testing
* :x: write template for script
* :x: install script to host
* :x: write test for script
* :x: update PAM config
* :x: write tests for PAM config
## Variables defaults
ntfy_ssh_access.host: "https://ntfy.sh" # string, optional
ntfy_ssh_access.channel: "" # string, required
ntfy_ssh_access.username: "" # string, optional
ntfy_ssh_access.password: "" # string, optional
ntfy_ssh_access.ruser_ignore: "" # string, optional
ntfy_ssh_access.rhost_ignore: "" # string, optional
ntfy_ssh_access.title: "SSH login" # string, optional
ntfy_ssh_access.tags: "warning" # string, optional
ntfy_ssh_access.message: "USER@HOSTNAME from RHOST" # string, optional
ntfy_ssh_access.script_path: /usr/sbin/ntfy-ssh-access # string, optional
ntfy_ssh_access.pam_config_path: /etc/pam/sshd # string, optional