Skip to content

svsticky/keylometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keylometer

how to not update ssh keys and instead update a config

Long story short, keylometer provides an AuthorizedKeysCommand for sshd, allowing us to not have to update our ssh keys ever. Just add a user to the config ,and they can use our server.

The keylometer.yml file is an example of the config file. It is tried first from /etc/keylometer.yml, and then in the current folder.

To make it work, build the program using go build, then copy it to a folder that everyone can access. Then add the following to /etc/ssh/sshd_config:

AuthorizedKeysCommand /path/to/keylometer %u
AuthorizedKeysCommandUser nobody

The %u is important so Keylometer can figure out what keys to use for the current user.

About

We need github keys in our servers!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages