Files
ssh-login-notifier/config.conf
Patrick Asmus 6c2a6dc12b Initial Commit
2026-04-26 21:05:42 +02:00

44 lines
1.4 KiB
Plaintext

# ============================================================
# SSH Login Notifier - Konfiguration
# ============================================================
# Benachrichtigungsmethode(n)
# Erlaubte Werte: email, ntfy, email,ntfy
NOTIFICATION_METHODS=ntfy
# ============================================================
# E-Mail Einstellungen
# ============================================================
# Empfaenger-Adresse
EMAIL_RECIPIENT=admin@example.com
# Absender-Adresse (wird nur von manchen Mail-Tools unterstuetzt)
EMAIL_FROM=noreply@example.com
# Betreff-Prefix (Hostname wird automatisch angehaengt)
EMAIL_SUBJECT_PREFIX=SSH Login
# ============================================================
# ntfy Einstellungen
# ============================================================
# ntfy Server-URL (ohne abschliessendes /)
NTFY_SERVER=https://ntfy.example.com
# ntfy Topic
NTFY_TOPIC=ssh-login
# ntfy Prioritaet (1=min, 2=niedrig, 3=standard, 4=hoch, 5=max)
NTFY_PRIORITY=3
# ntfy Tags (kommasepariert, Emoji-Shortcodes)
NTFY_TAGS=warning,computer
# ntfy Auth-Token (leer lassen fuer Server ohne Authentifizierung)
NTFY_AUTH_TOKEN=
# ============================================================
# Erweiterte Einstellungen
# ============================================================
# Geo-Location der Quell-IP abfragen (true/false)
# Nutzt die kostenlose API von ip-api.com (kein API-Key noetig)
GEO_LOOKUP=true