用命令生成 git SSH key
2017-03-23 11:08
204 查看
1.设置git 的 user.name 和 user.email
$ git config --global user.name "xuhaiyan" $ git config --global user.email "haiyan.xu.vip@gmail.com"
2.生成ssh密钥步骤
查看是否已经有了ssh 密钥cd ~/.ssh
(如果没有就不会出现)有就用rm fileName 命令删除
生成密钥
$ ssh-keygen -t rsa -C “your email address”
(一直回车3次)
得到名为 id_rsa 和 id_rsa.pub文件
github(gitlab)添加ssh密钥(id_rsa.pub)
后面就可以开始上传下载项目了
相关文章推荐
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Gitblit Git 无密码 clone pull SSH Key 生成
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- window10使用命令ssh工具生成github开源中国需要的ssh密钥以及转换为ppk让tortriseGit工具支持它
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤(转)
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤
- Git SSH Key 生成步骤