Files
sync-ssh-keys/README.md
2023-09-23 21:59:46 +02:00

34 lines
521 B
Markdown

# 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
```bash
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](assets/sync.gif)
### Monitor
Run `./monitor.py` or `python3 monitor.py`
![Monitor](assets/monitor.gif)