Skip to content

Instantly share code, notes, and snippets.

@clickfreak
Last active December 17, 2016 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clickfreak/6363333b5713274ccc6f7a1d6e57c6cb to your computer and use it in GitHub Desktop.
Save clickfreak/6363333b5713274ccc6f7a1d6e57c6cb to your computer and use it in GitHub Desktop.
Get public ssh keys from github
#!/bin/sh
curl -s https://api.github.com/users/<username>/keys | jq -r ".[].key" > ~/.ssh/authorized_keys_github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment