当我尝试生成SSH密钥时,我不断遇到同样的错误:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/konrad/.ssh/id_rsa):
在这里我按回车键。
Could not create directory '/home/konrad/.ssh'
然后我输入我的密码。
open /home/konrad/.ssh/id_rsa failed: No such file or directory.
Saving the key failed: /home/konrad/.ssh/id_rsa.
我曾尝试多次重新安装Git,但这没有帮助。我想可能是因为C:/ Users / Konrad应该是默认目录,而不是/ home。任何建议?