個人的なメモとして残しています。
☆SSHkey登録の手順
1.鍵をいれるフォルダに移動
$cd ~/.ssh
2.鍵を生成
ssh-keygen -t rsa
なにか聞かれたらエンターを押しておけばok
3.Githubに公開鍵をアップロード
https://github.com/settings/sshへアクセス
titleは適当,keyに鍵の中身をペーストする
pbcopy < ~/.ssh/id_rsa.pub
windowsなら
clip < ~/.ssh/id_rsa.pub