Created
November 7, 2019 05:45
-
-
Save mamemomonga/61468ba616ac15bec7406c631e42815c to your computer and use it in GitHub Desktop.
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
apt install jq | |
bash << 'EOS' | |
GH_USERNAME=mamemomonga | |
curl -s "https://api.github.com/users/$GH_USERNAME/keys" | jq -r '.[]|.key+" '$GH_USERNAME'@github/"+(.id|tostring)' | |
EOS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment