openssh-portable icon indicating copy to clipboard operation
openssh-portable copied to clipboard

[PATCH] sshd_config: allow directories in AuthorizedKeysFile=

Open lucab opened this issue 7 years ago • 3 comments

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.

lucab avatar Jun 14 '17 13:06 lucab

Forwarded to https://bugzilla.mindrot.org/show_bug.cgi?id=2755.

lucab avatar Aug 07 '17 09:08 lucab

@djmdjm I've rebased and updated this with the comments from Bugzilla, can you please have a look?

lucab avatar Jun 18 '20 09:06 lucab

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.

bgilbert avatar Jan 11 '23 00:01 bgilbert