LoginSignup
23
16

More than 5 years have passed since last update.

GitHubやGitLabに登録したSSH Keyは簡単に参照できる

Last updated at Posted at 2017-02-14

GitHub

https://github.com/{USER}.keys

GitLab

https://{GITLAB_URI}/{USER}.keys

まとめ

  • https://github.com/{USER}.keysへアクセスするとGitHubに登録している公開鍵が取得できる
  • サーバセットアップなどで、公開鍵を登録するとき、curl https://github.com/{USER}.keys -o ~/.ssh/authorized_keys とすると簡単に鍵を登録できる
23
16
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
16