Ah, well.

So changing the port number in my sshd_config plus changing *only* fail2ban/jail.local ssh port, this should be enough to say fail2ban, that in every configuration file where the "ssh" parameter is present, reference is made to the "x" value set in fail2ban/jail.local.

Right?


Thanks again and sorry if I struggle to understand, you know the difference in language affects :-)


Davide





Il 2020-01-24 16:20 Mike ha scritto:
I wouldn't mess with /etc/services

Just change the port number in you sshd_config file

And then change port= in fail2ban/jail.local config to match that port

[..]


_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to