github生成密钥

$ git config --global user.name "用户名"
$ git config --global user.email "你的邮箱"
ssh-keygen -t rsa                        //  生成密钥

查看密钥指令:
$ cat ~/.ssh/id_rsa.pub
 

猜你喜欢

转载自blog.csdn.net/csshuke/article/details/83828885