https://github.com/schmichael/authzgithub
dum script for github keys > ssh/authorized_keys
https://github.com/schmichael/authzgithub
Last synced: about 1 month ago
JSON representation
dum script for github keys > ssh/authorized_keys
- Host: GitHub
- URL: https://github.com/schmichael/authzgithub
- Owner: schmichael
- Created: 2017-03-17T18:24:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-17T19:27:52.000Z (about 9 years ago)
- Last Synced: 2025-10-29T17:47:00.504Z (7 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
bash script to add ssh keys from Github to your `~/.ssh/authorized_keys` file.
Or use a one liner like this to add all members of an organization `$ORG` to user `$U`:
```sh
curl -s https://api.github.com/orgs/${ORG}/members | jq -r ".[].login" | xargs -I {} printf "https://github.com/{}.keys\n" | xargs curl -s >> /${U}/.ssh/authorized_keys
```