# ssh-copy-id email@example.com /usr/bin/ssh-copy-id: ERROR: No identities found
You will have to manually define the path of the public key using -i switch as shown below
# ssh-copy-id -i .ssh/id_rsa.pub 192.168.1.11 firstname.lastname@example.org's password:
Now try logging into the machine, with "ssh '192.168.1.11'", and check in:
to make sure we haven't added extra keys that you weren't expecting.
That did the trick.
In my another article I have shared the steps to configure SSH port forwarding and tunnelling in Linux
How to create password less ssh connection for multiple non-root users
Iptables rules to allow/block ssh incoming/outgoing connection in Linux
Putty session disconnects when idle