Bug 1872892

Summary: Updates in sshd_config.anaconda
Product: Red Hat Enterprise Linux 8 Reporter: Jan Stodola <jstodola>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3   
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-28.14.57-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1872921 2007288 (view as bug list) Environment:
Last Closed: 2021-05-18 15:54:56 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:    
Bug Blocks: 1812825, 1872921    

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