how to access server by ssh without asking password code example Example: ssh-keygen and ssh-copy-id ssh-copy-id -i ~/.ssh/mykey user@host