An open API service indexing awesome lists of open source software.

https://github.com/tsndr/sync-ssh-keys

A fast and simple tool to synchronize ssh keys to multiple servers.
https://github.com/tsndr/sync-ssh-keys

ssh ssh-key ssh-keys sync sync-ssh synchronize

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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)