update readme

This commit is contained in:
2023-09-20 02:43:09 +02:00
parent eec99c1433
commit b35da93140

View File

@@ -1,15 +1,22 @@
# Sync SSH Keys # 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`) 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 ## Setup
### Install dependencies ### Install dependencies
```bash ```bash
pip3 install -r requirements.txt pip3 install -r requirements.txt
``` ```
### Create configuration file ### Create configuration file
Rename `config-example.yaml` to `config.yaml` and set your own data. Rename `config-example.yaml` to `config.yaml` and set your own data.
## Usage ## Usage
Run `./sync.py` or `python3 sync.py` Run `./sync.py` or `python3 sync.py`