Bit Bucket clone repository

0

Hello, I am trying to clone repository via bit bucket, i have created ssh key added into bit bucket setting now if i try to clone repository in visual studio its me error message:

$ git clone git@bitbucket.org:workdevops/xyz.git Cloning into 'xyz'... Host key verification failed. fatal: Could not read from remote repository.

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

Please suggest.

Thank you!!

Monica
질문됨 8달 전158회 조회
1개 답변
0

Hello, Monica.

The error message you're encountering, "Host key verification failed," typically occurs when there is an issue with the SSH key or the host key verification for the Bitbucket repository. Here are some steps you can take to troubleshoot and resolve this issue:

Check SSH Key Configuration: Ensure that the SSH key you added to your Bitbucket account is correctly configured. Make sure you added the public key to your Bitbucket account and that the private key is available on your local machine. Verify SSH Agent:

Check if the SSH agent is running and has your SSH key loaded

Best regards, Andrii.

profile picture
전문가
답변함 8달 전
  • Hello Andrii, Thanks for responding, but i have followed the same steps and i tried it again as well but i am getting same error. Thank you,

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인