Password-less SSH login

Da Caos per caso.
Versione del 11 giu 2016 alle 13:44 di 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 ...")
(diff) ← Versione meno recente | Versione attuale (diff) | Versione più recente → (diff)
Jump to navigation Jump to search

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 "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?