diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/notes/ssh-to-git-instead-of-http.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/notes/ssh-to-git-instead-of-http.md b/content/notes/ssh-to-git-instead-of-http.md index 7222b79..f76d849 100644 --- a/content/notes/ssh-to-git-instead-of-http.md +++ b/content/notes/ssh-to-git-instead-of-http.md @@ -32,7 +32,7 @@ Codeberg(Forgejo)和 GitHub 都支持通过 SSH 连接。 git remote set-url origin git@codeberg.org:eltrac/essayer.git ``` -直接 pull 或者 push 会遇到炎症问题,需要配置 SSH 密钥进行验证。在 Codeberg/Forgejo/GitHub 的设置中找到「SSH / GPG keys」,添加自己的 SSH 公钥。[^1] +直接 pull 或者 push 会遇到认证问题,需要配置 SSH 密钥进行认证。在 Codeberg/Forgejo/GitHub 的设置中找到「SSH / GPG keys」,添加自己的 SSH 公钥。[^1] 接下来要配置本地的 SSH 在连接至 Codeberg/Forgejo/GitHub 时使用相应的密钥进行认证,编辑 SSH 配置文件(macOS 的在 `~/.ssh/config`)。 |
