Utility to get github user keys
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
main.go

README.md

ghkeys

ghkeys is a tiny utility to get the public ssh keys of a github user.

Usage

$ go get github.com/blang/ghkeys

Instead go get, you can download a release for your platform.

$ ghkeys blang
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD8uS2zFn...
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDa22h62I...

// Now you can give a user access to your machine 
$ ghkeys blang >> ~/.ssh/authorized_keys

Contribution

Feel free to make a pull request. For bigger changes create a issue first to discuss about it.

License

See LICENSE file.