• VMware

    Learn about VMware virtualization for its products like vsphere ESX and ESXi, vCenter Server, VMware View, VMware P2V and many more

  • Linux

    Step by step configuration tutorials for many of the Linux services like DNS, DHCP, FTP, Samba4 etc including many tips and tricks in Red Hat Linux.

  • Database

    Learn installation and configuration of databases like Oracle, My SQL, Postgresql, etc including many other related tutorials in Linux.

  • How to fix "/usr/bin/ssh-copy-id: ERROR: No identities found"

    Error:
    # 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


    Deepak Prasad

    Deepak Prasad is an anonymous techie and an author who is still trying to survive in this IT generation with very little knowledge he has on Linux/Unix, VMware, SAN Storage, Automation, networking etc

    You can follow him on Facebook or Google+

    Do you also have something to share here?

    Become an author and be a part of our GoLinuxHub Team, Click here for more information
    How to fix "/usr/bin/ssh-copy-id: ERROR: No identities found" How to fix "/usr/bin/ssh-copy-id: ERROR: No identities found" Reviewed by Deepak Prasad on Thursday, October 02, 2014 Rating: 5

    1 comment:

    1. Hi Deepak
      i have tried your trick above but not working in my ubuntu 12.04.1 kernel 3.2.0-29-generic pae
      There is still /usb/bin/ssh-copy-id: ERROR: No Identities found

      ReplyDelete

    Powered by Blogger.