LoginSignup
0
0

More than 1 year has passed since last update.

Githubでssh接続

Posted at
ssh-keygen    
pbcopy < ~/.ssh/id_rsa.pub

でキーをクリップボードにコピー。

あとは、Githubの設定で
sshキーの項目にこれを追加する。

ssh -T git@github.com

を実行して、Hiと返ってくれば問題ない。

これでgit remote addとかする際、
sshの方を使える。

git remote add origin git@github.com:example/test.git
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