我想将远程存储库克隆到本地计算机.我使用了命令:
git clone git@bitbucket.org:<username>/<repo_name>.git
Run Code Online (Sandbox Code Playgroud)
我收到了消息:
The authenticity of host 'bitbucket.org (104.192.143.3)' can't be
established. RSA key fingerprint is
SHA256:****. Are you sure you
want to continue connecting (yes/no)? Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository
exists.
Run Code Online (Sandbox Code Playgroud)
我只想提一下,我已经处理了ssh问题.我通过命令' ssh-keygen' 生成了一个ssh密钥,并将内容复制~/.ssh/id_rsa.pub到Bitbucket Settings -> SSH keys(根据以下链接:https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html)
我也查看了我的"用户和组访问",我看到了这个:
你能告诉我该怎么办?
我刚刚在工作中连接到域的工作机器(Windows 7)上安装了GIT.当我启动GIT bash时,它从"H:"开始,而不是在我的主文件夹中.我认为这可能是一个问题,因为我没有连接到域,因为.ssh文件夹位于"H:"而不是我的主文件夹.我已将HOME环境文件夹设置为指向c:\ Users\MyName,但这没有帮助.我的HOMEDRIVE环境变量指向"H:",HOMEPATH指向"\",但我无法更改它们.
第一个问题:当我没有连接到域并且.ssh文件夹在域驱动器上时是否会出现问题?第二个问题:我该如何解决?:)