Ssh — La FAQ de JLT

Ssh

Révision datée du 4 février 2020 à 21:42 par Root (discussion | contributions) (1 révision importée)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Ne plus rentrer de mot de passe

ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key ($HOME/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in $HOME/.ssh/id_dsa.
Your public key has been saved in $HOME/.ssh/id_dsa.pub.
The key fingerprint is:
...
The key's randomart image is:
...
ssh-copy-id -i ~/.ssh/id_dsa.pub <user>@<host>

Liens Externes