ssh
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
ssh [2017/01/07 13:00] – [Générer une clé SSH] simon | ssh [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== La commande " | ||
- | La page de [[man de ssh]]. | ||
- | |||
- | ==== Générer une clé SSH ==== | ||
- | <code bash> | ||
- | simon@localhost: | ||
- | Generating public/ | ||
- | </ | ||
- | |||
- | On ajoute la nouvelle clé au " | ||
- | <code bash> | ||
- | simon@localhost: | ||
- | Could not open a connection to your authentication agent. | ||
- | |||
- | simon@localhost: | ||
- | |||
- | simon@localhost: | ||
- | Enter passphrase for .ssh/ | ||
- | Identity added: .ssh/id_rsa (.ssh/ | ||
- | </ | ||
- | |||
- | On envoie à présent la clé sur le serveur : | ||
- | <code bash> | ||
- | simon@localhost: | ||
- | / | ||
- | / | ||
- | LOGIN@NOM-DE-DOMAINE.COM' | ||
- | |||
- | Number of key(s) added: 1 | ||
- | |||
- | Now try logging into the machine, with: " | ||
- | and check to make sure that only the key(s) you wanted were added. | ||
- | </ | ||
- | |||
- | Plus qu'à se connecter, sans rentrer de code cette fois : | ||
- | <code bash> | ||
- | simon@localhost: | ||
- | LOGIN@HOST~$ | ||
- | </ | ||
- | |||
- | ==== Exemples et astuces ==== | ||
- | |||
- | * [[Redirection de l' | ||
- | * [[Reverse SSH]], pour intervenir à distance sur un ordinateur derrière un NAT. | ||
- | * [[http:// |
ssh.1483794039.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)