Ssh — La FAQ de JLT

Ssh

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