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.
- Host: GitHub
- URL: https://github.com/tsndr/sync-ssh-keys
- Owner: tsndr
- Created: 2021-03-04T20:37:34.000Z (over 5 years ago)
- Default Branch: python
- Last Pushed: 2025-05-21T22:25:14.000Z (about 1 year ago)
- Last Synced: 2025-05-21T23:29:52.754Z (about 1 year ago)
- Topics: ssh, ssh-key, ssh-keys, sync, sync-ssh, synchronize
- Language: Python
- Homepage:
- Size: 181 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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`

### Monitor
Run `./monitor.py` or `python3 monitor.py`
