Skip to content

About

Add SSH public keys into authorized_keys from GitHub.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

gh-ssh-pubkey

Add SSH public keys into authorized_keys from GitHub.

Installation

go get github.com/pocke/gh-ssh-pubkey

Or download a binary from Latest release.

https://github.com/pocke/gh-ssh-pubkey/releases/latest

Usage

Get pocke's public keys.

$ gh-ssh-pubkey pocke  # display keys

Get for more users.

$ gh-ssh-pubkey pocke users2 user3 ...

Get and Write into ~/.ssh/authorized_keys

$ gh-ssh-pubkey pocke -w
# or
$ gh-ssh-pubkey pocke --write

Refs

License

These codes are licensed under CC0.

CC0

About

Add SSH public keys into authorized_keys from GitHub.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址