perguth / sync-ssh-config

♻ • Syncs your SSH config.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sync SSH Config

This script:

  • Watches your ~/.ssh/config for changes
  • Automatically syncs changes with the group

Install

# Install NodeJS
# https://nodejs.org/en/download/package-manager/

# Install the systemd service
bash -c "$(curl -fsSL https://raw.githubusercontent.com/perguth/sync-ssh-config/main/setup.sh)"

# Set/copy the `sharedSecret` of the group
# and set `userName` to your username
sudo nano /etc/opt/sync-ssh-config/swarm.json

# Restart the service
sudo service sync-ssh-config restart

About

♻ • Syncs your SSH config.

License:MIT License


Languages

Language:JavaScript 96.6%Language:Shell 3.4%