https://github.com/jish/sshhub
sshhub is an easy way to get ssh keys authorized on your public server
https://github.com/jish/sshhub
Last synced: about 1 year ago
JSON representation
sshhub is an easy way to get ssh keys authorized on your public server
- Host: GitHub
- URL: https://github.com/jish/sshhub
- Owner: jish
- License: mit
- Created: 2016-01-13T00:42:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-27T20:22:33.000Z (over 9 years ago)
- Last Synced: 2025-02-12T08:17:56.640Z (over 1 year ago)
- Language: Ruby
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# sshhub [](https://codeclimate.com/github/mwerner/sshhub)
sshhub is an easy way to authorize the keys of a github user on your machine.
````
$ sshhub authorize mwerner
Requesting keys for mwerner...
2 keys found:
1) ssh-rsa AAAAB3Nz ... 0QkUi8N3GtW8bWt
2) ssh-dss AAAAB3Nz ... voG4UfVujCJdkh=
A) Authorize all keys
Select a key to authorize: 2
Added ssh-rsa AAAAB3Nz ... voG4UfVujCJdkh= to authorized_keys
````
````
$ sshhub status mwerner
Requesting keys for mwerner...
2 keys found:
ssh-rsa AAAAB3Nz ... 0QkUi8N3GtW8bWt
ssh-dss AAAAB3Nz ... voG4UfVujCJdkh=
mwerner is authorized on this machine
````
````
$ sshhub revoke mwerner
Revoking all authorization for mwerner...
````
## Installation
$ gem install sshhub
## Contributing
1. Fork it ( https://github.com/[my-github-username]/sshhub/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request