Bug 1353410
| Summary: | [ssh-copy-id] add "The agent has no identities." in remote ~/.ssh/authorized_keys | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | JianHong Yin <jiyin> | ||||
| Component: | openssh | Assignee: | Jakub Jelen <jjelen> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Stefan Dordevic <sdordevi> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.9 | CC: | plautrba, qe-baseos-security, sdordevi, szidek, vorpal | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | openssh-5.3p1-119.el6 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1012262 | Environment: | |||||
| Last Closed: | 2017-03-21 10:02:34 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1012262 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
JianHong Yin
2016-07-07 02:42:30 UTC
Created attachment 1177214 [details] proposed (upstream) patch for RHEL6 Steps to reproduce: 1. Start ssh-agent and do not add any identity: $ eval `ssh-agent` 2. Try ssh-copy-id (make sure there is not passwordless access yet): $ ssh-copy-id localhost 3. Check authorized_keys: $ cat ~/.ssh/authorized_keys The agent has no identities. It is a bug, but quite late in the round since we entered in the Production Phase 2 with RHEL6. This works fine in RHEL7 anyway. The upstream fix: http://git.hands.com/?p=ssh-copy-id.git;a=commitdiff;h=d23b6e4f That "upstream" fix was comitted on Fri, 18 Jun 2010 SIX YEARS AGO. "Upstream" What a joke. WHY IS THE CURRENT, LATEST, SUPPORTED RHEL6 USING A VERSION OF OPENSSH-CLIENTS WHICH DOES NOT CONTAIN SOMETHING THAT WAS COMMITTED 6 YEARS AGO? It was committed into upstream openssh-5.5p1. In RHEL6 we ship stable version openssh-5.3p1 and we didn't rebase since that time (point of stable distribution). It is unfortunate that the previous bug (for RHEL5) was not cloned to RHEL6 earlier, but using Caps Lock will not help this fixed in any way. You are welcome to update to RHEL7 with newer version of openssh and this bug fixed, or escalate this issue through your Red Hat support (Bugzilla is not a support tool). 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. https://rhn.redhat.com/errata/RHSA-2017-0641.html |