ssh-key-dir

0
README.md

This project is deprecated

This is replaced by glob support in

AuthorizedKeysFile
starting with OpenSSH 10.0.

See: https://github.com/coreos/ssh-key-dir/issues/188


ssh-key-dir

crates.io

ssh-key-dir is an sshd

that reads SSH authorized key files from a directory,
~/.ssh/authorized_keys.d
. It allows SSH keys to be managed by multiple tools and processes, without competing over
~/.ssh/authorized_keys
.

ssh-key-dir reads key files in lexigraphical order, ignoring any filenames starting with a dot.

Installing

Installing on Fedora

ssh-key-dir
is packaged in Fedora:

Installing the package automatically configures sshd to read keys using ssh-key-dir.

Installing with Cargo

You can also install just the

ssh-key-dir
binary with Rust's Cargo package manager:

Build and install from source tree

To build from the source tree:

To install the binary and

sshd_config.d
fragment to a target rootfs (e.g. under a coreos-assembler workdir):