GerardSoleCa / PubKeyManager

Public Key Manager for SSH Connections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Go 42.9%Language:JavaScript 37.7%Language:HTML 13.5%Language:Shell 4.1%Language:CSS 1.7%