ansible--role--ntfy-ssh/INFO.md

1.2 KiB

Ntfy SSH Access

Notify when users are signing on your servers via SSH. (WORK IN PROGRESS: do not use in production)

Roadmap

  • setup VM for testing
  • write template for script
  • install script to host
  • write test for script
  • update PAM config
  • 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