Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cfstras/github-ssh-auth
Automatically populates authorized_keys file based on members of a GitHub organisation or team
https://github.com/cfstras/github-ssh-auth
Last synced: about 1 month ago
JSON representation
Automatically populates authorized_keys file based on members of a GitHub organisation or team
- Host: GitHub
- URL: https://github.com/cfstras/github-ssh-auth
- Owner: cfstras
- Created: 2019-07-27T12:54:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T06:10:26.000Z (7 months ago)
- Last Synced: 2024-04-12T14:23:43.628Z (7 months ago)
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-ssh-auth
Automatically provision SSH authorized_keys to your user by scraping a GitHub organisation (optional team).
## Setup
- If you're on Debian, you will need some more packages:
```bash
sudo apt install python3 python3-venv
```
- Also, upgrade your system. An outdated libssl will cause pain.
```bash
sudo apt update && sudo apt upgrade
```The following script will:
- Make a virtualenv and install dependencies from [requirements.txt](requirements.txt)
- Setup a systemd-user-service `github-ssh-auth.service`
- Setup a timer which refreshes authorized_keys every 30 minutes```bash
./setup.sh
```- Edit `config.yml`
- Create an access token
- Set your organization and team
- optionally, add fallback ssh keys which will always be added# License
GPLv3. Other licenses available upon request.