2

我正在尝试连接到存储库,但在尝试连接时总是收到此消息

The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 c1:90:ff:d5:6b:78:33:5d:7b:ba:f6:f6:bc:1c:de:79
Connection abandoned.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
4

2 回答 2

3

尝试使用 ssh 手动连接主机,以确认并存储 ssh 指纹。在 Windows 上,使用可以为您处理此问题的结帐工具可能会有所帮助。据我所知,例如 Eclipse 可以。

于 2013-07-25T08:35:28.383 回答
1

如果 ssh 对您不起作用,请尝试使用 http/https 进行克隆。

另一种解决方案(取决于您的 git“服务器”github/bitbucket/stash 等)将您的 ssh 密钥添加到“服务器”,它将起作用。

于 2013-07-25T09:53:56.023 回答