marcusmyers / github-auth
PHP Implementation of [github-auth](https://github.com/chrishunt/github-auth)
v1.0.0
2016-07-30 17:38 UTC
Requires
- guzzlehttp/guzzle: ~4.0|~5.0|~6.0
- symfony/console: ~2.3|~3.0
- symfony/process: ~2.3|~3.0
This package is auto-updated.
Last update: 2025-01-12 06:51:41 UTC
README
This is a php port of Chris Hunt's github-auth. I did this mainly because I have been writing a php command line application and needed something like it.
Pairing with strangers has never been so good.
github-auth allows you to quickly pair with anyone who has a GitHub
account
by adding and removing their public ssh keys from your
authorized_keys
file.
Install
composer global require "marcusmyers/github-auth=~1.0.0"
Make sure to place the ~/.composer/vendor/bin directory in your PATH
so the gh-auth
executable is found when you run the gh-auth
command in your terminal.
Ussage
Adding a user
$ gh-auth add marcusmyers Successfully added marcusmyers to your authorized keys file
Removing a user
$ gh-auth remove marcusmyers Removed 2 keys from your authorized_keys file
Listing users
$ gh-auth list-users marcusmyers