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 1872892 - Updates in sshd_config.anaconda
Summary: Updates in sshd_config.anaconda
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lorax
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1812825 1872921
TreeView+ depends on / blocked
 
Reported: 2020-08-26 20:35 UTC by Jan Stodola
Modified: 2021-05-18 15:55 UTC (History)
0 users

Fixed In Version: lorax-28.14.57-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1872921 2007288 (view as bug list)
Environment:
Last Closed: 2021-05-18 15:54:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Stodola 2020-08-26 20:35:09 UTC
Description of problem:
While working on bug 1800697, the following updates to the sshd_config.anaconda file were mentioned (see bug 1800697#c23):

* RSAAuthentication is removed
* there is no configuration option KeepAlive
* XAuthLocation is default, Port is default, IgnoreRhosts is default,
  StrictModes is default so not needed to explicitly mention
  [asosedki: unless you explicitly wanted to pin them for some reason]
* PrintMotd should be off as it is printed from pam now

The content of the config file in RHEL-8.3:
[anaconda root@localhost ~]# cat /etc/ssh/sshd_config.anaconda 
Port 22
PermitRootLogin yes
IgnoreRhosts yes
StrictModes yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd yes
XAuthLocation /bin/xauth
KeepAlive yes
SyslogFacility AUTHPRIV
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords yes
PermitUserEnvironment yes
[anaconda root@localhost ~]#


Version-Release number of selected component (if applicable):
lorax-28.14.54-1.el8

Comment 1 Brian Lane 2020-08-26 23:06:38 UTC
pam in the boot.iso doesn't have the motd module included so PrintMotd should stay set to yes. The other suggested changes look fine.

Comment 2 Brian Lane 2020-08-27 21:32:43 UTC
Upstream PR - https://github.com/weldr/lorax/pull/1064

Comment 7 Jan Stodola 2021-01-20 18:28:49 UTC
Verified together with bug 1872921 (common/sshd_config.anaconda doesn't differ in lorax and lorax-templates-rhel), moving to VERIFIED.

Comment 9 errata-xmlrpc 2021-05-18 15:54:56 UTC
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 (lorax bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2021:1888


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