A basic repository of script / utilities to help with ssh
key management.
Helps to remove ssh
keys from an authorized_keys
file for a given user based on the public keys that user has listed on GitHub.
Usage:
% remove_user_keys <github_username>
Or, if you want to specify the authorzied_keys file
% authorized_keys=/path/to/file remove_user_keys <github_username>
Quick script to add ssh
keys to an authorized_keys
file for a given user based on the public keys that user has listed on GitHub.
Usage:
% add_user_keys <github_username>
Or, if you want to specify the authorzied_keys file
% authorized_keys=/path/to/file add_user_keys <github_username>