From 4facd3152b8dab092c3dc1711e39656bbe3ffa31 Mon Sep 17 00:00:00 2001 From: Moul Date: Mon, 30 May 2016 18:16:05 +0200 Subject: [PATCH] [enh] #380: security: remove previous way of managing configuration in YunoHost 2.2. --- security.md | 14 +------------- security_fr.md | 18 ------------------ 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/security.md b/security.md index 86faf261..372b1a03 100644 --- a/security.md +++ b/security.md @@ -55,12 +55,6 @@ nano /etc/ssh/sshd_config Port 22 # to replace by 9777 for example ``` -To prevent YunoHost overwrites the configuration of the SSH server you must edit the file `/etc/yunohost/yunohost.conf` and change ligne ssh to yes - -```bash -ssh=yes -``` - Save and restart SSH daemon. Then restart the iptables firewall and close the old port in iptables. @@ -109,12 +103,6 @@ AllowUsers user_name ``` Only users listed in the AllowUsers directive will then be allowed to connect via SSH, which excludes the admin user. -To prevent yunohost overwrites the configuration of the SSH server you must edit the file `/etc/yunohost/yunohost.conf` et pass ligne ssh to yes - -```bash -ssh=yes -``` - Save and restart SSH daemon. --- @@ -124,4 +112,4 @@ YunoHost administration is accessible through an **HTTP API**, served on the 678 ```bash sudo service yunohost-api stop -``` \ No newline at end of file +``` diff --git a/security_fr.md b/security_fr.md index 917ee57f..e7920755 100644 --- a/security_fr.md +++ b/security_fr.md @@ -45,12 +45,6 @@ nano /etc/ssh/sshd_config PasswordAuthentication no ``` -Pour éviter que YunoHost écrase la configuration du serveur SSH il faut modifier le fichier `/etc/yunohost/yunohost.conf` et passer la ligne ssh à yes - -```bash -ssh=yes -``` - Sauvegardez et relancez le démon SSH. --- @@ -68,12 +62,6 @@ nano /etc/ssh/sshd_config Port 22 # à remplacer par exemple par 9777 ``` -Pour éviter que yunohost écrase la configuration du serveur SSH il faut modifier le fichier `/etc/yunohost/yunohost.conf` et passer la ligne ssh à yes - -```bash -ssh=yes -``` - Sauvegardez et relancez le démon SSH. Ensuite redémarrez le firewall iptables et fermez l’ancien port dans iptables. @@ -122,12 +110,6 @@ AllowUsers nom_utilisateur ``` Seuls les utilisateurs mentionnés dans la directive AllowUsers seront alors autorisés à se connecter via SSH, ce qui exclut donc l’utilisateur admin. -Pour éviter que YunoHost écrase la configuration du serveur SSH il faut modifier le fichier `/etc/yunohost/yunohost.conf` et passer la ligne ssh à yes - -```bash -ssh=yes -``` - Sauvegardez et relancez le démon SSH. ---