21 lines
595 B
Markdown
21 lines
595 B
Markdown
|
# Lab 配置模版仓库
|
||
|
|
||
|
> 请参考如下步骤配置您的本地 ssh config
|
||
|
|
||
|
## 成果预览
|
||
|
|
||
|
```sh
|
||
|
ssh lab.evlic.cn
|
||
|
PTY allocation request failed on channel 0
|
||
|
Hi there, evlic! You've successfully authenticated with the key named login, but Gitea does not provide shell access.
|
||
|
If this is unexpected, please log in with password and setup Gitea under another user.
|
||
|
Connection to lab.gitea.evlic.cn closed.
|
||
|
```
|
||
|
|
||
|
## 配置步骤
|
||
|
|
||
|
1. [用户设置 / 管理 SSH 密钥](/user/settings/keys)
|
||
|
|
||
|
2. 查看 SSH 密钥生成文档并妥善保管密钥
|
||
|
3. 👉 增加密钥
|
||
|
4. 查看本仓库 [config]()
|