gapcio
is a simple shell script that helps manage SSH keys using Github as
a central point. It is meant as an alternative to manualy copying keys with
scp
or ssh-copy-id
.
Copy gapcio
script to a directory under your PATH
.
get <username>
Fetch and display public keys for given useradd <username> [authorized_keys_path]
Add public keys of given user toauthorized_keys_path
(by default `~/.ssh/authorized_keys)delete <username> [authorized_keys_path]
Delete all public keys of given user fromauthorized_keys_path
(by default `~/.ssh/authorized_keys)
Add all public keys from zaiste
user on Github to ~/.ssh/authorized_keys
on
the current machine.
gapcio add zaiste
- GitHub Enterprise support
- Verify if keys already exist
- Ability to manage single keys
- Custom comments SSH support