From cf6ff14265028923fa6fd70972bc0dd3fe9ee773 Mon Sep 17 00:00:00 2001 From: Sebastien Dubois Date: Tue, 20 Jun 2017 01:39:02 +0200 Subject: [PATCH] mef openSSH + sauvegarde --- reveal/sysadmin.html | 72 ++++++++++++++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 23 deletions(-) diff --git a/reveal/sysadmin.html b/reveal/sysadmin.html index 5113fc0..fb4db3c 100644 --- a/reveal/sysadmin.html +++ b/reveal/sysadmin.html @@ -844,14 +844,22 @@ ansible 2.2.1.0
+

OpenSSH

- -- SSH: Secure Shell -- Outils: - Client: ssh, scp, sftp - Serveur: ssh-add, ssh-agent, ssh-keygen, ssh-keysign, ssh-keyscan, et sftp-server -- Configuration de sshd_config - +

+

    +
  • SSH: Secure Shell
  • +
  • Outils: +
      +
    • Client: ssh, scp, sftp
    • +
    • Serveur: ssh-add, ssh-agent, ssh-keygen, ssh-keysign, ssh-keyscan, et sftp-server
    • +
    +
  • +
+
+
+

Configuration de sshd_config

+
 Port 22
 Port 2222
 
@@ -863,37 +871,55 @@ Match Address 192.0.2.1,192.0.2.2
     PasswordAuthentication yes
 Match User foo,bar
     PasswordAuthentication no
-
+
+
 $ ssh-keygen
 $ cat .ssh/id_rsa.pub
 $ vim .ssh/authorized_keys
-$ ssh-agent
-
-scp   fichier-local    identité-distante@hôte-distant:chemin/fichier
-scp   identité-distante@hôte-distant:chemin/fichier   fichier-local
-
+
+
+
+
+

OpenSSH (suite)

+
+$ ssh-agent
+scp   fichier-local    identité-distante@hôte-distant:chemin/fichier
+scp   identité-distante@hôte-distant:chemin/fichier   fichier-local
+
+
-

sauvegardes

+
+

Sauvegardes

+
+
+

File-system (totales ou incrémentales) - +

+
 tar -cpvf
 cpio, pax
-
 dump/restore, partimage
 dd
-
+
+
 umount /file-system
+
+
 dump 0uf /dev/rst0 /file-system
-
-
-LA solution magique...
-
+
+	
+
+

LA solution magique...

+
+
 rsync -av --delete
 cp -al
-
-EvoBackup : https://forge.evolix.org/projetcs/evobackup
+
+
+

EvoBackup :
https://forge.evolix.org/projetcs/evobackup

+