6816 shaares
Fail2Ban uses the file /etc/fail2ban/jail.local and look for the [ssh] section, you can change the port there.
[ssh]
enabled = true
port = ssh
You can change the port value to any positive integer.
Fail2Ban uses the file /etc/fail2ban/jail.local and look for the [ssh] section, you can change the port there.
[ssh]
enabled = true
port = ssh
You can change the port value to any positive integer.