mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update security.md
Added a warning about changing system configuration files without using yunohost administration tools.
This commit is contained in:
parent
269155b1f9
commit
f607542893
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ sudo yunohost settings set security.ssh.password_authentication -v no
|
||||||
### Modify the SSH port
|
### Modify the SSH port
|
||||||
|
|
||||||
To prevent SSH connection attempts by robots that scan the internet for any server with SSH enabled, you can change the SSH port.
|
To prevent SSH connection attempts by robots that scan the internet for any server with SSH enabled, you can change the SSH port.
|
||||||
This is handled by a system setting, which takes care of updating the SSH and Fail2Ban configuration.
|
This is handled by a system setting, which takes care of updating the SSH and Fail2Ban configuration. Warning! If you modify anything in the /etc/ssh/sshd_config file, even if only the port, yunohost will no longer make and changes to this file. For this reason, always use the yunohost admin tools to make changes to the systems configuration files!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yunohost settings set security.ssh.port -v <new_ssh_port_number>
|
sudo yunohost settings set security.ssh.port -v <new_ssh_port_number>
|
||||||
|
|
Loading…
Reference in a new issue