github - 在 GIT GUI 中生成新的 SSH key

标签 github github-for-windows git-gui

实际上,我已经使用 GIT GUI 生成了 SSH key 。但我想修改现有的 SSH key 。我没有看到任何修改现有 key 的选项。
谁能告诉我如何修改现有的 SSH key ?


enter image description here

最佳答案

要修改现有的默认 ssh key ,您不需要 gui。

确保您的 <git>\usr\bin位于%PATH%并输入:

ssh-keygen -t rsa -C "key for xxx access" -q -P ""

这将建议覆盖您的 %HOME%\.ssh\id_rsa(.pub) (%HOME% 通常设置为 %USERPROFILE% )

关于github - 在 GIT GUI 中生成新的 SSH key ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40259247/

相关文章:

macos-big-sur - 我无法在 macOS Big Sur 上运行 `git gui`

git - 如何在 Git Gui 中一次暂存所有文件?

heroku - 将 .gitignore 文件推送到特定远程

git:git 可以意识到我从一个远程接收到的提交与来自不同远程的提交相同吗?

go - 将 GoLang 连接到 GitHub

Git 使用从 GitHub 客户端同步来分离 HEAD

git - git 克隆密码存储或缓存在哪里?

git - 为什么我使用 Git GUI checkout 时没有列出我的标签?

java - 使用gradle和java在github项目中添加 "Used by"

c# - 马哈普斯地铁 : Show non-modal auto-closing message dialog at the bottom of the window