add 2 guides
This commit is contained in:
parent
bd0cb0cea6
commit
69f6fbc0ad
@ -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',
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user