Ssh » Historique » Version 11
Patrice Nadeau, 2018-06-16 12:52
1 | 11 | Patrice Nadeau | # 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 | 9 | Patrice Nadeau | Problème : #38 |
12 | 8 | Patrice Nadeau | |
13 | 5 | Patrice Nadeau | {{lastupdated_at}} {{lastupdated_by}} |
14 | |||
15 | --- |
||
16 | 1 | Patrice Nadeau | |
17 | 11 | Patrice Nadeau | ## Installation |
18 | 1 | Patrice Nadeau | |
19 | 11 | Patrice Nadeau | ```bash |
20 | 1 | Patrice Nadeau | zypper install openssh |
21 | 11 | Patrice Nadeau | ``` |
22 | 1 | Patrice Nadeau | |
23 | 11 | Patrice Nadeau | ## Authentification sans mots de passe |
24 | 1 | Patrice Nadeau | |
25 | 11 | Patrice Nadeau | ### Créer la clé |
26 | |||
27 | ```bash |
||
28 | 3 | Patrice Nadeau | ssh-keygen |
29 | 11 | Patrice Nadeau | ``` |
30 | |||
31 | Copier la clé vers le serveur |
||
32 | |||
33 | ```bash |
||
34 | 10 | Patrice Nadeau | ssh-copy-id -i ~/.ssh/id_rsa.pub user_name@server_name |
35 | 11 | Patrice Nadeau | ``` |
36 | |||
37 | Faire le test |
||
38 | |||
39 | ```bash |
||
40 | 1 | Patrice Nadeau | ssh server_name |
41 | 11 | Patrice Nadeau | ``` |