Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.59 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.59 KB

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.