Synchronizes remote SSH authorized_keys
Project description
claviger
claviger manages the SSH authorized_keys files for you.
Usage
Tell claviger which keys you want to put on which server by creating a ~/.claviger-file. An example:
keys: laptop: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINYZEwjtu8w9Hsvx85TlYE95MLV9Whc3N1ajrH7+gu7A desktop: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICUef9frJIX7tjvZkYYMtr4IdD/GcKz6/X5qvLxM1Z8O desktop work: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICrycv44eyFwWJ7QQsGOnjEiAsFSdxIoAEzBPSO/AQB5 work servers: myprivateserver.com: user: myusername present: - laptop - desktop root@myotherserver.com: like: myprivateserver.com present: - work keepOtherKeys: false workuser@workserver.com: present: - work - desktop absent: - laptop
Then run claviger. By default claviger only tells which changes it wants to make, but does not make them. If the changes seem fine, run claviger -f, which allows claviger to make changes.
Installation
To install claviger, simply run:
pip install claviger
claviger Changelog
0.1.0 (2015-12-14)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
claviger-0.1.0.tar.gz
(22.3 kB
view hashes)