From eab5784477f0efcf264dcd9366dcab231bdd0fb2 Mon Sep 17 00:00:00 2001 From: egarette Date: Wed, 19 May 2021 23:08:42 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Home'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Home.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Home.md b/Home.md index 3d0f2ef..44a87fc 100644 --- a/Home.md +++ b/Home.md @@ -93,28 +93,14 @@ cucchiaiata-import provisioning.yaml ``` # Création d'un clé SSH - -Récupérer sa clé SSH : - ``` FORCE_RISOTTO_USER=gnunux cucchiaiata-cli v1.setting.pki.openssh.client.get -a cadoles.com -w ``` -- copier le contenu de "private_key" dans le fichier .ssh/key -- copier le contenu de "certificate" dans le fichier .ssh.key.pub -- chmod 600 ~/.ssh/key.pub ~/.ssh/key -- editer ~/.ssh/known_hosts avec "@cert-authority *.cadoles.com" + le conteneur de "chain" -- editer le fichier ~/.ssh/config : - -``` -Host *.cadoles.com - IdentityFile ~/.ssh/key - StrictHostKeyChecking yes -``` Dans /etc/hosts ajouter : "192.168.0.150 dns.cadoles.com". ``` -ssh gnunux@dns.cadoles.com -i ~/.ssh/key +ssh dns.cadoles.com ``` # Note