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