SSH Key Management
Made Simple

A lightweight, agentless solution that centralizes control of your authorized_keys files. No complex setup, no agents, just straightforward SSH key management.

Why Keymaster?

🎨

Beautiful TUI

Modern interactive terminal interface that makes key management intuitive and efficient

πŸš€

Agentless

Uses standard SSH/SFTP. No remote agents or complex server setup required

πŸ”’

Auto-Hardening

Automatically applies strict SFTP-only restrictions to system keys on every deployment

πŸ”„

Safe Rotation

Rotate system keys without losing access to offline hosts

πŸ’Ύ

Portable Database

Backup to JSON, restore, or migrate from SQLite to PostgreSQL/MySQL

🌍

Multi-Language

Fully internationalized TUI with community translations

Get Started in Minutes

From zero to managing your first host in just a few steps

1

Install Keymaster

Install the CLI using Go (requires Go 1.20 or later)

go install github.com/toeirei/keymaster/cmd/keymaster@latest

πŸ’‘ The binary will be available at $GOPATH/bin/keymaster

2

Initialize Database

Launch the interactive TUI to create your database and configuration

keymaster

πŸ“ Database and config are created automatically in your user config directory

3

Generate System Key

In the TUI, navigate to Rotate System Keys to create your initial system key

β–Έ Rotate System Keys β†’ Generate New Key

πŸ”‘ This key allows Keymaster to manage all your hosts securely

4

Add Your First Host

Bootstrap a remote host to bring it under Keymaster management

a In TUI: Manage Accounts β†’ Add Account
b Copy the bootstrap command and run it on your remote host
c Confirm in Keymaster and watch it deploy!

✨ The host is now fully managedβ€”Keymaster handles the rest

Common Commands

keymaster deploy Deploy to all hosts
keymaster audit Check for configuration drift
keymaster backup Create compressed backup
keymaster trust-host user@host Add new managed host

Ready to simplify your SSH key management?

Join developers and sysadmins who chose simplicity over complexity