Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ssh [2019/06/02 10:59]
127.0.0.1 external edit
ssh [2019/06/02 17:42] (current)
jdx
Line 1: Line 1:
-====== ​Commandes ​SSH ======+====== SSH commands ​======
  
- +===== Create private/public key on the current ​machine =====
-===== Créer un couple clé privée/publique sur sa machine =====+
 <​code>​ssh-keygen -t rsa</​code>​ <​code>​ssh-keygen -t rsa</​code>​
  
-===== Copier sa clé publique sur le serveur ​distant =====+===== Copy the public key on a distant ​server ​=====
 <​code>​ssh-copy-id -i ~/​.ssh/​id_rsa.pub user@server</​code>​ <​code>​ssh-copy-id -i ~/​.ssh/​id_rsa.pub user@server</​code>​
  
-===== Maj clé d'​identification pour se connecter à un serveur via SSH (réinitialiser la clé chez soi) =====+===== Remove all keys belonging to hostname from a known_hosts file =====
 <​code>​ssh-keygen -R hostname</​code>​ <​code>​ssh-keygen -R hostname</​code>​
  
  • ssh.txt
  • Last modified: 2019/06/02 17:42
  • by jdx