Skip to content

Commit 6196c03

Browse files
author
liuxinwei
committed
新文件: doc/explore/github/index.md
1 parent 1e7963b commit 6196c03

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

doc/explore/github/index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Github
2+
3+
## github 22 端口连接超时报错的解决办法
4+
5+
```
6+
ssh: connect to host github.com port 22: Operation timed out
7+
fatal: Could not read from remote repository.
8+
9+
Please make sure you have the correct access rights
10+
and the repository exists.
11+
```
12+
13+
解决办法:
14+
15+
编辑文件:`~/.ssh/config`
16+
17+
添加如下:
18+
19+
```
20+
Host github.com
21+
HostName ssh.github.com
22+
Port 443
23+
User git
24+
PreferredAuthentications publickey```
25+
```

doc/explore/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
```{toctree}
44
linux/index
55
docker/index
6+
github/index
67
```

0 commit comments

Comments
 (0)