Skip to content

(WIP) Use a gpg keyring to manage ssh authorized keys

Notifications You must be signed in to change notification settings

hashbang/gpg-authorized-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

GPG Authorized Keys

GPG keyrings can be used as a source of trust in terms of who should be allowed to SSH into a server.

This repository contains a script that may be used as an sshd AuthorizedKeysCommand.

Usage

You will need to create a user specifically to run gpg-authorized-keys. It's recommended to use systemd-sysusers to create this user, or alternatively you could run:

useradd gpg-authorized-keys

In your sshd_config add:

AuthorizedKeysCommand=/path/to/gpg-authorized-keys
AuthorizedKeysCommandUser=gpg-authorized-keys

About

(WIP) Use a gpg keyring to manage ssh authorized keys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages