mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 07:35:35 +08:00
Update gitserver.md
修正错别字和语病
This commit is contained in:
@ -138,7 +138,7 @@ passwd gitpassword
|
||||
|
||||
创建`.ssh` 目录,如果`.ssh` 已经存在了,可以忽略这一项
|
||||
|
||||
为啥用配置ssh公钥呢,同学们记不记得我急使用github上传上传代码的时候也要把自己的公钥配置上github上
|
||||
为啥用配置ssh公钥呢,同学们记不记得我使用github上传代码的时候也要把自己的公钥配置上github上
|
||||
|
||||
这也是方面每次操作git仓库的时候不用再去输入密码
|
||||
|
||||
@ -186,7 +186,7 @@ cd /home/git/.ssh/
|
||||
cat id_rsa.pub >> authorized_keys
|
||||
```
|
||||
|
||||
如何看我们配置的密钥是否成功呢, 在客户点直接登录git服务器,看看是否是免密登陆
|
||||
如何看我们配置的密钥是否成功呢, 在客户端直接登录git服务器,看看是否是免密登陆
|
||||
```
|
||||
ssh git@git服务器ip
|
||||
```
|
||||
|
Reference in New Issue
Block a user