Git SSH Key 生成步骤
来源:互联网 发布:java 连接sql 源代码 编辑:程序博客网 时间:2024/06/18 13:46
GitLab/Git 是分布式的代码管理工具,远程的代码管理是基于SSH的,所以要使用远程的Git则需要SSH的配置。
github的SSH配置如下:
一 、
设置Git的user name和email:
$ git config --global user.name "xuhaiyan"
$ git config --global user.email "haiyan.xu.vip@gmail.com"
1.查看是否已经有了ssh密钥:cd ~/.ssh
如果没有密钥则不会有此文件夹,有则备份删除
2.生存密钥:
$ ssh-keygen -t rsa -C “haiyan.xu.vip@gmail.com”
按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
亲测可用。Git SSH Key 生成步骤
0 0
- 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 生成步骤
- 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 生成步骤
- 数据库设计总结-4
- 【c/c++编程】VS下mbedtls编译过程
- 数据库设计总结-2
- Android 查看进程ID(PID)比较进程优先级
- linux-whereis
- Git SSH Key 生成步骤
- 调整数组顺序使奇数位于偶数前面
- 系统日志管理
- Java实现自定义栈
- 关于 802.11 协议
- java 正则表达式-01
- Python中PyQuery库的使用总结
- testNG之测试报告
- 第二章 数据结构和算法(常见的时间复杂度及比较)