Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error: The server's host key is not cached. You have no guarantee that the server is the computer yo

Jayson Cauyan May 18, 2022

Trying to clone setting from BitBucket to SourceTree but still encountered this kind of error after trying multiple workaround:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote ssh://git@git.sample.com:0000/test/testtest.git
Output:
Error: The server's host key is not cached. You have no guarantee
that the server is the computer you think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 SHA256:/asda2123asd?211asd?/a/sd
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n, Return cancels connection, i for more info) fatal: Could not read from remote repository.

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

1.  Following this source as well: SourceTree error: The server's host key is not cac... (atlassian.com)
(Comment Section)
2. Next encountered error:
FATAL ERROR: No suppoerted authentication methods available (server sent: publickey)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events