I learned that using ssh-copy-id will allow passwordless ssh.

  • sh
1
2
# use ssh key
ssh-copy-id -i ~/.ssh/mykey user@host

This will install authorized key in to server allowing next login without requiring password.

  • sh
1
2
# ssh into host
ssh user@host