In this page https://yunohost.org/#/security_fr you say that it is better to change the SSH default port to another one and I’m totally agree with that.
But what about the default fail2ban config? Would we modify /etc/fail2ban/yunohost-jails.conf with:
[sshd]
enabled = true
port = <new_port>
Or maybe fail2ban directly read the sshd config file to guess the correct port?