Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在花费数小时寻找解决此问题的方法。 正如您在第一张图片中看到的那样,我试图创建 ssh 密钥:
默认目录是:C:\Users\BC1\.ssh 但是当我查看它时,我没有找到关键:
C:\Users\BC1\.ssh
密钥位于 中C:\Windows\System32,但不在上面显示的目录中。
C:\Windows\System32
我相信如果我成功了,我可以编辑密钥并将内容替换为 PuTTY 生成的密钥,然后我的问题就Permission denied可以解决。 希望有人能帮忙。
Permission denied
创建密钥时,当您要求输入文件名以保存密钥时,只需按 Enter 键,而不是像在屏幕截图中那样输入“密钥”。
您现在可以在 C:\Windows\system32\key 中找到密钥,因为这是您第一次创建密钥时的工作目录。