Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

openssh: Change the way authorized keys are added to the system. #52

Closed
wants to merge 1 commit into from

Conversation

rickynils
Copy link
Member

Instead of the somewhat hacky script that inserted public keys
into the users' .ssh/authorized_keys files, use the AuthorizedKeysFile
configuration directive in sshd_config and generate extra key
files for each user (placed in /etc/authorized_keys.d/).

Instead of the somewhat hacky script that inserted public keys
into the users' .ssh/authorized_keys files, use the AuthorizedKeysFile
configuration directive in sshd_config and generate extra key
files for each user (placed in /etc/authorized_keys.d/).
@peti
Copy link
Member

peti commented Dec 8, 2012

I like this approach better than the previous solution. +1 for merging.

@edolstra
Copy link
Member

Very nice, thanks! I've merged it.

@edolstra edolstra closed this Dec 11, 2012
chexxor pushed a commit to chexxor/nixos-configurations that referenced this pull request Nov 6, 2013
edolstra pushed a commit to NixOS/nixpkgs that referenced this pull request Apr 3, 2017
This functionality was initially introduced in
3644f91 to fix
NixOS/nixos#52, but was broken in the update from 0.9.5
to 0.10.3.  The original patch does not cleanly apply due to reformatting and
parameter changes upstream, but the adaptations of the patch to the new version
are not too severe.

(cherry picked from commit 3948891)
adrianpk added a commit to adrianpk/nixpkgs that referenced this pull request May 31, 2024
This functionality was initially introduced in
3644f91 to fix
NixOS/nixos#52, but was broken in the update from 0.9.5
to 0.10.3.  The original patch does not cleanly apply due to reformatting and
parameter changes upstream, but the adaptations of the patch to the new version
are not too severe.

(cherry picked from commit 3948891)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants