| Summary: | ssh-copy-id should copy by default id_rsa.pub not identity.pub | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Miroslav Vadkerti <mvadkert> |
| Component: | openssh | Assignee: | Radek Vokál <rvokal> |
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.7 | CC: | pvrabec |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 06:12:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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