🚀ssh 密钥配置
config.d | ||
config | ||
README.md |
🚀ssh 配置模版仓库
请参考如下步骤配置您的本地 ssh config
成果预览
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.
配置步骤
- 用户设置 / 管理 SSH 密钥
- 查看 SSH 密钥生成文档并妥善保管密钥
- 👉 增加密钥
- 查看本仓库 config 酌情替换
- COPY 本仓库 git.ssh 到合适的位置并修改密钥路径