Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 731930 - ssh-copy-id should copy by default id_rsa.pub not identity.pub
ssh-copy-id should copy by default id_rsa.pub not identity.pub
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openssh (Show other bugs)
5.7
All Linux
medium Severity medium
: rc
: ---
Assigned To: Radek Vokal
BaseOS QE Security Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-19 02:20 EDT by Miroslav Vadkerti
Modified: 2012-02-21 01:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-21 01:12:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0237 normal SHIPPED_LIVE openssh bug fix and enhancement update 2012-02-20 10:07:34 EST

  None (edit)
Description Miroslav Vadkerti 2011-08-19 02:20:19 EDT
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
Comment 5 errata-xmlrpc 2012-02-21 01:12:44 EST
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

Note You need to log in before you can comment on or make changes to this bug.