1.
![](https://img.haomeiwen.com/i5771119/e8dd03cd78aa242b.png)
![](https://img.haomeiwen.com/i5771119/129ed635391530ce.png)
2.将公钥传送到Git服务器上(此时需要你的服务器密码),如下图
![](https://img.haomeiwen.com/i5771119/a4650ada81e69d94.png)
3.测试ssh连接,如果顺利,已经不需要输入密码即可进入服务器Git的ssh连接,如下图
![](https://img.haomeiwen.com/i5771119/25f77749d554e43d.png)
4.成功后git clone git@服务器地址:/home/git/Foreground.git(项目目录)克隆项目代码
1.
2.将公钥传送到Git服务器上(此时需要你的服务器密码),如下图
3.测试ssh连接,如果顺利,已经不需要输入密码即可进入服务器Git的ssh连接,如下图
4.成功后git clone git@服务器地址:/home/git/Foreground.git(项目目录)克隆项目代码
本文标题:使用git base生成rsa公钥和私钥
本文链接:https://www.haomeiwen.com/subject/tepaxxtx.html
网友评论