Protecting multiple SSH ports with Fail2ban

In /etc/fail2ban/jail.local :

[ssh]

enabled  = true

port     = ssh,sftp,1234,2222

Comments