git SSH key生成步骤

在命令行中输入

ssh-keygen -t rsa -C "git@git.com" 你的GIT邮箱账户

按3个回车,密码为空。


Your identification has been saved in /home/tekkub/.ssh/id_rsa.
Your public key has been saved in /home/tekkub/.ssh/id_rsa.pub.
The key fingerprint is:
………………

 

最后得到了两个文件:id_rsa和id_rsa.pub

 

打开id_rsa.pub ,复制里面的信息,在git页面add SSH KEY 

复制里面的信息,title 随便取

配置成功,就可以CLONE啦

 
posted @ 2016-05-03 10:27  $button  阅读(153)  评论(0编辑  收藏  举报