mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
remove useless word and change display
This commit is contained in:
parent
7a4a33af09
commit
a422bf98e1
2 changed files with 4 additions and 4 deletions
|
@ -96,10 +96,10 @@ port = <your_ssh_port>
|
|||
port = <your_ssh_port>
|
||||
```
|
||||
|
||||
Finally you have to restart fail2ban in order to apply the new configuration
|
||||
Finally you have to restart `fail2ban` in order to apply the new configuration
|
||||
|
||||
```bash
|
||||
systemctl restart fail2ban.service
|
||||
systemctl restart fail2ban
|
||||
```
|
||||
|
||||
**For the next SSH connections **, you need to add the `-p` option followed by the SSH port number.
|
||||
|
|
|
@ -109,10 +109,10 @@ port = <votre_numero_de_port_ssh>
|
|||
port = <votre_numero_de_port_ssh>
|
||||
```
|
||||
|
||||
Il reste enfin à relancer fail2ban pour prendre en compte la nouvelle configuration
|
||||
Il reste enfin à relancer `fail2ban` pour prendre en compte la nouvelle configuration
|
||||
|
||||
```bash
|
||||
systemctl restart fail2ban.service
|
||||
systemctl restart fail2ban
|
||||
```
|
||||
|
||||
**Pour les prochaines connexions SSH**, il faudra ajouter l’option `-p` suivie du numéro de port SSH.
|
||||
|
|
Loading…
Add table
Reference in a new issue