Skip to content

Instantly share code, notes, and snippets.

@perifer

perifer/gist:5195119

Created Mar 19, 2013
Embed
What would you like to do?

go keys

go keys server

go keys server add NAME --user SERVER_USER --hostname HOSTNAME --url SERVER_URL --tags "TAG1,TAG2,TAG3" --repo REPO_URL --description "A DESCRIPTION" (other options)

--tags: coma or space seperated

go keys server edit (same options as add)

go keys server remove NAME

go keys server rename OLDNAME NEWNAME

go keys server show NAME or go keys server NAME

go keys server list or go keys server

go keys server add-user SERVERNAME USERNAME

go keys server remove-user SERVERNAME USERNAME

go keys user

go keys user add USERNAME --full-name "Anders Fajerson" --github-username "perifer" --public-key ~/.ssh/id_rsa.pub

either --github-username or --public-key has to be provided. If only --github-username is 	provided https://github.com/perifer.keys will be used.

go keys user edit USERNAME (same options as add)

if github-username or public-key was edited, update the public key on all users servers. See 	push-keys

go keys user push-keys USERNAME force update public key on all users servers. Used when e.g github public key has changed.

go keys user rename OLDNAME NEWNAME

go keys user remove USERNAME

this will remove the users public key from all the users servers

go keys user show USERNAME or go keys user USERNAME

show info and servers for user. 

go keys user list or go keys user

list all users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment