RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1498614 - extra space between ssh-rsa and public key now causes a login failure
Summary: extra space between ssh-rsa and public key now causes a login failure
Keywords:
Status: CLOSED DUPLICATE of bug 1493406
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openssh
Version: 7.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jakub Jelen
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-04 19:02 UTC by Ed Greenberg
Modified: 2017-10-05 07:17 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-05 07:17:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ed Greenberg 2017-10-04 19:02:19 UTC
Description of problem:

I had a second space between ssh-rsa and the public key for root on my various
servers in AWS.  These were built with the AMI ami-6d1c2007 published by
Centos.   

The space crept in when I removed the restriction on being able to log in as
root. 

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

The AMI loaded with openssh 6.6, and the root public key was working fine, but
when I did a yum update and got openssh-7.4p1-12.el7_4.x86_64 I could no longer
log in as root, but got permission denied. 

How reproducible:


Steps to Reproduce:
1. Edit any account's .ssh/authorized_keys
2. Add a space between ssh-rsa and the beginning of the actual key text.
3. Open another window on your client, and try to ssh into that account. 

Actual results:
In Openssh 7.4pl1, permission denied - public key

Expected results:
Successful Log in

Additional info:
I couldn't find any mention of this in recent changelogs for openssh

Comment 2 Jakub Jelen 2017-10-05 07:17:34 UTC

*** This bug has been marked as a duplicate of bug 1493406 ***


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