Update sshd_config to include PubkeyAuthentication option #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks a lot for your work.
During a semi-recent install of fedora 40 (just shortly before the 41 release) I encountered an issue, that I just could not access the unlock shell. After some fiddeling I found out, that the
PubkeyAuthentication
needs to be set toyes
to makeit work. I found the RedHat documentation which mentions that the value has to be set explicitly.
"Use the AuthenticationMethods configuration directive in the
/etc/ssh/sshd
_config file to specify which authentication methods are to be utilized. [...] Note that each of the requested authentication methods needs to be explicitly enabled using a corresponding configuration directive (such asPubkeyAuthentication
) in the/etc/ssh/sshd_config
file."Also the sshd_config(5) manual supports that in the
AuthenticationMethods
block."Note that each authentication method listed should also be explicitly enabled in the configuration."
Interestingly this is not an issue on system that have been running for a while. I could reproduce the issue between multiple Fedora 40 installs.