Bug 1012262 - [ssh-copy-id] add "The agent has no identities." in remote ~/.ssh/authorized_keys
Summary: [ssh-copy-id] add "The agent has no identities." in remote ~/.ssh/authorized_...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openssh
Version: 5.10
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Lautrbach
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 1353410
TreeView+ depends on / blocked
 
Reported: 2013-09-26 06:31 UTC by JianHong Yin
Modified: 2016-07-07 02:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1353410 (view as bug list)
Environment:
Last Closed: 2014-01-17 13:25:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description JianHong Yin 2013-09-26 06:31:49 UTC
Description of problem:
In my RHEL5.10, virtual host; after ssh-copy-id, can not login without passwd;
and find that it just add "The agent has no identities." in remote authorized_keys

Version-Release number of selected component (if applicable):
authorized_keys

How reproducible:
In my virtual host always; ( 10.66.13.194 root:redhat )
But In a beaker machine not reproduce.

Steps to Reproduce:
1. ssh-copy-id  $host
2. ssh $host
3.

Actual results:
can not login without passwd

Expected results:
login without passwd

Additional info:
  if add -i option, it works fine;

Comment 1 Petr Lautrbach 2014-01-17 13:25:31 UTC
This Bugzilla has been reviewed by Red Hat and is not planned on being
addressed in Red Hat Enterprise Linux 5, and therefore will be closed.
If this bug is critical to production systems, please contact your Red
Hat support representative and provide sufficient business
justification.

Comment 2 BugMasta 2016-07-07 02:23:47 UTC
Yeah thanks a lot.
More great work.

This bug is still present in RHEL6.8, July 2016.

All you had to do was give an error message when the user runs ssh-copy-id, instead of misleading the user by apparently completing successfully.

But you couldn't do that could you. You just ignored the issue.

PATHETIC.

IT IS THIS SORT OF LAZINESS WHICH MAKES USING RHEL AN UTTER NIGHTMARE.

EVERY DAY I ENCOUNTER BUG AFTER BUG AFTER BUG, AND 9/10 OF THEM HAVE BEEN FOUND YEARS AGO, BUT STUPIDITY AND LAZINESS HAS PREVENTED A FIX.

Comment 3 JianHong Yin 2016-07-07 02:49:51 UTC
(In reply to BugMasta from comment #2)
> Yeah thanks a lot.
> More great work.
> 
> This bug is still present in RHEL6.8, July 2016.
> 
> All you had to do was give an error message when the user runs ssh-copy-id,
> instead of misleading the user by apparently completing successfully.
> 
> But you couldn't do that could you. You just ignored the issue.
> 
> PATHETIC.
> 
> IT IS THIS SORT OF LAZINESS WHICH MAKES USING RHEL AN UTTER NIGHTMARE.
> 
> EVERY DAY I ENCOUNTER BUG AFTER BUG AFTER BUG, AND 9/10 OF THEM HAVE BEEN
> FOUND YEARS AGO, BUT STUPIDITY AND LAZINESS HAS PREVENTED A FIX.

Thank you for your report, and *urge on*


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