Fail2ban/SSH: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
'''Fail2ban/SSH''' - Beschreibung | |||
== Beschreibung == | |||
== Konfiguration == | == Konfiguration == | ||
; sshd.conf in /etc/fail2ban/jail.d/ | ; sshd.conf in /etc/fail2ban/jail.d/ | ||
| Zeile 18: | Zeile 23: | ||
sudo systemctl restart fail2ban | sudo systemctl restart fail2ban | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Dateien === | |||
{| class="wikitable options big" | |||
|- | |||
! Datei !! Beschreibung | |||
|- | |||
| || | |||
|- | |||
| || | |||
|} | |||
<noinclude> | |||
== Anhang == | |||
=== Siehe auch === | |||
<div style="column-count:2"> | |||
<categorytree hideroot=on mode="pages">{{BASEPAGENAME}}</categorytree> | |||
</div> | |||
---- | |||
{{Special:PrefixIndex/{{BASEPAGENAME}}/}} | |||
=== Dokumentation === | |||
<!-- | |||
; Man-Page | |||
# [https://manpages.debian.org/stable/procps/pgrep.1.de.html prep(1)] | |||
; Info-Pages | |||
--> | |||
=== Links === | |||
==== Projekt ==== | |||
==== Weblinks ==== | |||
<!-- | |||
{{DEFAULTSORT:new}} | |||
{{DISPLAYTITLE:new}} | |||
--> | |||
[[Kategorie:Fail2ban]] | [[Kategorie:Fail2ban]] | ||
[[Kategorie:SSH]] | [[Kategorie:SSH]] | ||
</noinclude> | |||
Aktuelle Version vom 1. März 2026, 10:04 Uhr
Fail2ban/SSH - Beschreibung
Beschreibung
Konfiguration
- sshd.conf in /etc/fail2ban/jail.d/
[sshd]
enabled = true
backend = systemd
port = ssh
filter = sshd
logpath = %(sshd_log)s
maxretry = 5
findtime = 3m
bantime = 1h
action = iptables-multiport[name=sshd, port="ssh", chain="INPUT"]
- Dienst neu starten
sudo systemctl restart fail2ban
Dateien
| Datei | Beschreibung |
|---|---|
Anhang
Siehe auch
Dokumentation
Links
Projekt
Weblinks