/sync-ssh-keys

A fast and simple tool to synchronize ssh keys to multiple servers.

Primary LanguagePython

Sync SSH Keys

A simple script to sync ssh public keys to multiple servers, without the danger of locking yourself out (since it writes to authorized_keys2)

Setup

Install dependencies

pip3 install -r requirements.txt

Create configuration file

Rename config-example.yaml to config.yaml and set your own data.

Usage

Sync

Run ./sync.py or python3 sync.py

Sync

Monitor

Run ./monitor.py or python3 monitor.py

Monitor