Hello, I'm Paul. I am a devoted Linux user, Ruby programmer, Open Source software developer, photography hobbyist, and a world traveller. My wife Eugenia and I originate from a place in Russian Siberia. Today we live at the very South of Canada.
If you, like I today, cannot perform a passwordless login via ssh to a remote Linux server after copying a public key to the server with
ssh-copy-id command, please check if the key is actually presents among other authorized keys on the server. I found that sometimes it is not.
$ cat .ssh/authorized_keys The agent has no identities.
To fix the problem just add the
-i argument like below:
$ ssh-copy-id -i email@example.com