🚀ssh 密钥配置
Go to file
🐟 adb950e8f1 doc: update README title 2023-09-12 14:35:12 +08:00
config.d doc: add README 2023-09-12 14:14:17 +08:00
README.md doc: update README title 2023-09-12 14:35:12 +08:00
config doc: add README 2023-09-12 14:14:17 +08:00

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.

配置步骤

  1. 用户设置 / 管理 SSH 密钥
  2. 查看 SSH 密钥生成文档并妥善保管密钥
  3. 👉 增加密钥
  4. 查看本仓库 config 酌情替换
  5. COPY 本仓库 git.ssh 到合适的位置并修改密钥路径

「指令」测试配置:ssh -v lab.evlic.cn