Skip to content

GerardSoleCa/PubKeyManager

Repository files navigation

PubKeyManager

Build Status Go Report Card GoDoc

PubKeyManager provides a simple way to manage public keys for SSH Connections on multiple servers. It makes use of AuthorizedKeysCommand of OpenSSH.

It makes use of sqlcipher to have an encrypted database which cannot be opened nor modified without its valid password.

Configuration

It is possible to configure different parameters of PubKeyManager. The config file should be located along with the binary.

Store a file named pubkeymanager.conf where you have the binary.

port=8080
db_password="ratata"

Disclaimer

On production systems configure HTTPs or your servers can be exposed to untrusted clients.

Docker

A Docker image exists.

$ docker run -d -p 8080:8080 gerardsoleca/pubkeymanager

Development

Developed under go1.6 linux/amd64. Should work on other *nix systems.

Install dependencies

# sudo apt-get install libssl-dev

Development

Installation

$ git clone https://github.com/GerardSoleCa/PubKeyManager
$ cd PublicKeyManager
$ go get .../.

Run

$ go run main.go

License

MIT Licensed.

About

Public Key Manager for SSH Connections

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published