https://github.com/marcusmyers/github-auth
A PHP SSH key management for GitHub Users
https://github.com/marcusmyers/github-auth
Last synced: 3 months ago
JSON representation
A PHP SSH key management for GitHub Users
- Host: GitHub
- URL: https://github.com/marcusmyers/github-auth
- Owner: marcusmyers
- License: mit
- Created: 2016-06-16T21:14:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-30T17:41:15.000Z (almost 9 years ago)
- Last Synced: 2025-01-15T13:59:58.795Z (5 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# github-auth
This is a php port of Chris Hunt's
[github-auth](https://github.com/chrishunt/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`](http://en.wikipedia.org/wiki/Ssh-agent) 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
```bash
$ gh-auth add marcusmyers
Successfully added marcusmyers to your authorized keys file
```### Removing a user
```bash
$ gh-auth remove marcusmyers
Removed 2 keys from your authorized_keys file
```### Listing users
```bash
$ gh-auth list-users
marcusmyers
```