0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GitHubのsshキー設定エラーについて。

Last updated at Posted at 2021-11-27

GitHubに公開鍵を設定しよう

*

$ ssh-keygen -t rsa -b 4096 -C "メールアドレス"

*

-t 暗号化方式を指定

-b 暗号化強度を指定

-C コメントを設定

・パスワード2回入力

公開鍵をクリップボードにコピーする

$ pbcopy < pbcopy < /Users/yuya/.ssh/id_rsa.pub

gitgubの設定画面を表示する

スクリーンショット 2021-11-27 15.54.35.png

スクリーンショット 2021-11-27 16.03.10.png

スクリーンショット 2021-11-27 16.03.34.png

確認コマンドを入力 $ ssh -T git@github.com

※それでもできない場合は、cat ~/.ssh/id_rsa.pub をターミナルで実行して公開キーを貼り付ける。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?