Passwordless SSH to localhost

first make sure you have set up ssh

ssh-key-gen -t rsa

Then make sure you have logged in (& then out) once

ssh localhost
exit

finally copy your id to ssh


ssh-copy-id localhost

Leave a Comment