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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issues with clone/fetch over SSH

Hi we are getting having intermittent problems with fetching multiple repositories due to this error:

Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress git@bitbucket.org:xxx/xxx.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: Connection closed by 18.205.93.0
fatal: Could not read from remote repository.

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

1 answer

0 votes

Hello @Martin Pivarník,

Well, from this much of detail I can say only that the SSH key used to run this operation:

  • is not recognised at all (not associated with any user or repository)
  • is associated with a user that doesn't have access to the repository in question
  • is an access key for a different repository
  • OR repository simply doesn't exist

If the repository exists, I'd suggest you to enable verbose log for SSH and check which key is used and where it is registered in Bitbucket.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

Hey Daniil, the issue seems to be gone now.

Like Daniil Penkin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,849 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you