Differenze tra le versioni di "Password-less SSH login"

Da Caos per caso.
Jump to navigation Jump to search
imported>Giorgio
(Created page with "Execute these two commands: ssh-keygen Then you'll need to copy the new key to your server: ssh-copy-id user@host ## or if your server uses custom port no: ssh-copy-id ...")
 
imported>Giorgio
 
Riga 1: Riga 1:
Execute these two commands:
+
Execute this command:
  
 
  ssh-keygen
 
  ssh-keygen

Versione attuale delle 13:45, 11 giu 2016

Execute this command:

ssh-keygen

Then you'll need to copy the new key to your server:

ssh-copy-id user@host
## or if your server uses custom port no:
ssh-copy-id "user@host -p 1234"

After the key is copied, ssh into the machine as normal:

ssh user@host

You can now login without entering a password from the particular machine you executed the commands at.

Fonte: How can I set up password-less SSH login?