Error:
Solution:
You will have to manually define the path of the public key using -i switch as shown below
That did the trick.
Related Articles
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
What are the different types of Virtual Web Hosting in Apache
Comparison and Difference between VMFS 3 and VMFS 5
How to configure PXE boot server in Linux using Red Hat 6
How to secure Apache web server in Linux using password (.htaccess)
How to register Red Hat Linux with RHN (Red Hat Network )
How does a DNS query works when you type a URL on your browser?
How to create password less ssh connection for multiple non-root users
How to create user without useradd command in Linux
How to give normal user root privileges using sudo in Linux/Unix
How to do Ethernet/NIC bonding/teaming in Red Hat Linux
How to install/uninstall/upgrade rpm package with/without dependencies
Why is Linux more secure than windows and any other OS
What is the difference between "su" and "su -" in Linux?
What is the difference/comparison between Unix and Linux ?
RAID levels 0, 1, 2, 3, 4, 5, 6, 0+1, 1+0 features explained in detail
# ssh-copy-id root@192.168.1.11
/usr/bin/ssh-copy-id: ERROR: No identities found
Solution:
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
15
root@192.168.1.11's password:[Provide root password for client machine]
Now try logging into the machine, with "ssh '192.168.1.11'", and check in:
.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.
That did the trick.
Related Articles
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
Follow the below links for more tutorials
How to configure iscsi target using Red Hat LinuxWhat are the different types of Virtual Web Hosting in Apache
Comparison and Difference between VMFS 3 and VMFS 5
How to configure PXE boot server in Linux using Red Hat 6
How to secure Apache web server in Linux using password (.htaccess)
How to register Red Hat Linux with RHN (Red Hat Network )
How does a DNS query works when you type a URL on your browser?
How to create password less ssh connection for multiple non-root users
How to create user without useradd command in Linux
How to give normal user root privileges using sudo in Linux/Unix
How to do Ethernet/NIC bonding/teaming in Red Hat Linux
How to install/uninstall/upgrade rpm package with/without dependencies
Why is Linux more secure than windows and any other OS
What is the difference between "su" and "su -" in Linux?
What is the difference/comparison between Unix and Linux ?
RAID levels 0, 1, 2, 3, 4, 5, 6, 0+1, 1+0 features explained in detail