This is a small bash script that grabs the public keys for all of the users in a Github organization. This is great for adding public keys to the authorized_keys file in linux servers.
- curl
First you will need to create a new access token
Clone the repo, then run:
sh fetch.sh ACCESS_TOKEN organization
Or a quick one-liner:
curl -sL http://git.io/soXC7Q | bash -s ACCESS_TOKEN organization > authorized_keys