Ssh » Historique » Version 6
Patrice Nadeau, 2015-02-15 15:39
| 1 | 3 | Patrice Nadeau | h1. SSH |
|---|---|---|---|
| 2 | 1 | Patrice Nadeau | |
| 3 | |||
| 4 | Secure SHell |
||
| 5 | 5 | Patrice Nadeau | |
| 6 | 6 | Patrice Nadeau | Utiliser pour les branchement securisés : |
| 7 | * Session terminal (ssh) |
||
| 8 | * copy securisé (scp) |
||
| 9 | * FTP securisé : (sftp) |
||
| 10 | |||
| 11 | 5 | Patrice Nadeau | {{lastupdated_at}} {{lastupdated_by}} |
| 12 | |||
| 13 | --- |
||
| 14 | 1 | Patrice Nadeau | |
| 15 | h2. Installation |
||
| 16 | |||
| 17 | 4 | Patrice Nadeau | h2. Authentification sans mots de passe |
| 18 | 3 | Patrice Nadeau | |
| 19 | # Créer la clé |
||
| 20 | <pre><code class="bash"> |
||
| 21 | ssh-keygen |
||
| 22 | </code></pre> |
||
| 23 | # Copier la clé vers le serveur |
||
| 24 | <pre><code class="bash"> |
||
| 25 | ssh-copy-id -i ~/.ssh/id_rsa.pub server_name |
||
| 26 | </code></pre> |
||
| 27 | # Faire le test |
||
| 28 | <pre><code class="bash"> |
||
| 29 | ssh server_name |
||
| 30 | </code></pre> |