openssh-portable
openssh-portable copied to clipboard
[PATCH] sshd_config: allow directories in AuthorizedKeysFile=
This is a convenience copy for reviews/comments only, patch submission is in bugzilla .
This commit enhances AuthorizedKeysFile= to accept directory paths
in addition to single files.
It provides an include semantics mimicking .d
/ run-parts(8)
approach, offering a consistent way for different entities to add
public keys to a given account without single-file contention.
Forwarded to https://bugzilla.mindrot.org/show_bug.cgi?id=2755.
@djmdjm I've rebased and updated this with the comments from Bugzilla, can you please have a look?
ssh-key-dir is an AuthorizedKeysCommand
implemented as a workaround for the missing ~/.ssh/authorized_keys.d
support. It's been shipping in Fedora CoreOS by default for a couple years now.