Sign inSign up

marcbachmann/authorizedkeys-github

By marcbachmann

Updated about 9 years ago

A server that fetches public keys of all members of a github team & writes them into a file.

Image
0

4.6K

marcbachmann/authorizedkeys-github repository overview

authorizedkeys-github

A server that fetches public keys of all members of a github team and writes them into an .ssh/authorized_keys file.

You can see a list of all users and their keys on http://localhost:3000/

Usage
docker run -it -v /root/.ssh:/user/.ssh -p 3000:3000 \
-e 'GITHUB_TOKEN=your-github-token' \
-e 'GITHUB_ORG=upfrontIO' \
-e 'GITHUB_TEAM=Livingdocs' \
-e 'AUTHORIZED_KEYS_PATH=/Users/marcbachmann/.ssh/authorized_keys' \
marcbachmann/authorizedkeys-github

# or

docker run -it -v /root/.ssh:/user/.ssh -p 3000:3000 \
-e 'GITHUB_TOKEN=your-github-token' \
-e 'GITHUB_TEAM_ID=352089' \
-e 'AUTHORIZED_KEYS_PATH=/user/.ssh/authorized_keys' \
marcbachmann/authorizedkeys-github

Tag summary

Content type

Image

Digest

Size

24.9 MB

Last updated

about 9 years ago

docker pull marcbachmann/authorizedkeys-github