30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
|
|
||
|
# 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
|
||
|
|