我正在使用 Windows 7 上的 Cygwin Git,在执行任何需要通过 SSH 与 GitHub 通信的操作时,我都会收到以下消息:
Could not create directory '/home/ltb/.ssh'.
The authenticity of host 'github.com (192.30.252.129)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)?
到目前为止,我已经理解了上面的情况。但是一旦我输入“yes”,SSH应该能够将Github密钥插入到
known_hosts
文件中并继续进行。然而,每次我都会收到以下错误消息:Failed to add the host to the list of known hosts (/home/ltb/.ssh/known_hosts).
我做错了什么?