Ssh » Historique » Version 5
Patrice Nadeau, 2015-02-15 15:37
1 | 3 | Patrice Nadeau | h1. SSH |
---|---|---|---|
2 | 1 | Patrice Nadeau | |
3 | |||
4 | Secure SHell |
||
5 | 5 | Patrice Nadeau | |
6 | {{lastupdated_at}} {{lastupdated_by}} |
||
7 | |||
8 | --- |
||
9 | 1 | Patrice Nadeau | |
10 | h2. Installation |
||
11 | |||
12 | 4 | Patrice Nadeau | h2. Authentification sans mots de passe |
13 | 3 | Patrice Nadeau | |
14 | # Créer la clé |
||
15 | <pre><code class="bash"> |
||
16 | ssh-keygen |
||
17 | </code></pre> |
||
18 | # Copier la clé vers le serveur |
||
19 | <pre><code class="bash"> |
||
20 | ssh-copy-id -i ~/.ssh/id_rsa.pub server_name |
||
21 | </code></pre> |
||
22 | # Faire le test |
||
23 | <pre><code class="bash"> |
||
24 | ssh server_name |
||
25 | </code></pre> |