The ssh-copy-id command fails with error "No identities found" when distributing ssh key of foreman-proxy user in Red Hat Satellite 6

Solution Verified - Updated -

Issue

  • The ssh-copy-id command fails with the following error.

    [root@satellite ~]# ssh-copy-id -i ~foreman-proxy/.ssh/id_rsa_foreman_proxy.pub rexuser@172.28.yy.xx
    /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/usr/share/foreman-proxy/.ssh/id_rsa_foreman_proxy.pub"
    /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/usr/share/foreman-proxy/.ssh/id_rsa_foreman_proxy.pub"
    /usr/bin/ssh-copy-id: ERROR: No identities found
    

Environment

  • Red Hat Satellite 6
  • Red Hat Capsule 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In