add 2 guides

This commit is contained in:
makayabou 2020-09-14 11:12:00 +02:00
parent bd0cb0cea6
commit 69f6fbc0ad
2 changed files with 3 additions and 37 deletions

View File

@ -139,6 +139,7 @@ Nous avons besoin de créer les fichiers suivants pour qu'ils soient utilisés p
2 => '172.23.0.1',
3 => '172.21.0.1',
),
'skeletondirectory' => '',
'datadirectory' => '/data',
'dbtype' => 'mysql',
'overwrite.cli.url' => 'https://nextcloud.mondomaine.fr',

View File

@ -38,43 +38,8 @@ sudo apt install openssh-server
### Démarrage du serveur ssh
sudo systemctl restart sshd.service
=======
# Création d'un serveur local avec partage de fichiers Samba et backup des données en externe
## Installation de SSH
### Installation
```
sudo apt update
sudo apt install openssh-server
```
### Configuration
!!! note "/etc/ssh/sshd_config"
```
Port 43000
HostKey /etc/ssh/ssh_host_ecdsa_key
LoginGraceTime 20s
MaxAuthTries 3
MaxSessions 1
PubkeyAuthentication yes
PasswordAuthentication yes
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
```
### Démarrage du serveur ssh
sudo systemctl restart sshd.service
------------
---------------------
## Installation de Samba