Last active
December 17, 2016 20:39
-
-
Save clickfreak/6363333b5713274ccc6f7a1d6e57c6cb to your computer and use it in GitHub Desktop.
Get public ssh keys from github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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