Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2022 11:02:16 +0200
From:      sake <sake@saketec.com>
To:        questions@freebsd.org
Subject:   Upgrade from 13.0 to 13.1, sshd_config broken
Message-ID:  <5782eea5-0c83-a5fe-e867-73c98acc46ef@saketec.com>

next in thread | raw e-mail | index | archive | help
Hi,

So I did the upgrade and everything is running good now. But I had to 
log in via console and repair the sshd_config file.

--- snip sshd_config-broken ---

# Set this to 'no' to disable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
<<<<<<< current version
# be allowed through the ChallengeResponseAuthentication and
# PAM authentication via ChallengeResponseAuthentication may bypass
=======
# be allowed through the KbdInteractiveAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via KbdInteractiveAuthentication may bypass
# the setting of "PermitRootLogin without-password".
 >>>>>>> 13.1-RELEASE
# If you just want the PAM account and session checks to run without
<<<<<<< current version
# and ChallengeResponseAuthentication to 'no'.
=======
# PAM authentication, then enable this but set PasswordAuthentication
# and KbdInteractiveAuthentication to 'no'.
 >>>>>>> 13.1-RELEASE

--- snip ---

It looks like some comments haven't received the leading #  I haven't 
found any similar error in the internet regarding the upgrade process. 
Seems like I'm the only one having this issue.

Can anyone explain to me why this happened and what I can do to prevent 
this the next time?

Thanks in advance
cheers
sake.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5782eea5-0c83-a5fe-e867-73c98acc46ef>