Password-less SSH login

Da Caos per caso.
Jump to navigation Jump to search

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?