Description of problem: # ssh-keygen (use defaults) # ls .ssh id_rsa id_rsa.pub # useradd user # echo user | passwd --stdin user # ssh-copy-id user@localhost /usr/bin/ssh-copy-id: ERROR: No identities found snip from ssh-copy-id: ID_FILE="${HOME}/.ssh/identity.pub" should be ID_FILE="${HOME}/.ssh/id_rsa.pub" If the ssh-keygen command creates by default id_rsa the ssh-copy-id should id_rsa.pub use as default too. Version-Release number of selected component (if applicable): openssh-4.3p2-72.el5_7.5 How reproducible: 100% Steps to Reproduce: 1. see description Actual results: /usr/bin/ssh-copy-id: ERROR: No identities found Expected results: No error and ssh-copy-id copies id_rsa.pub successfully Additional info: This is not a regression
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0237.html