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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,644,714
Community Members
 
Community Events
196
Community Groups

Erroring out while cloning bitbucket repository

Hi,

I have created the ssh key using ed25519 algorithm and added the key in bitbucket account but while cloning the repository I am getting below error. 

[abhinav.shukla@RA-INT-HIE-DEV-UCDB01 riayati]$ sudo git clone ssh://git@ra-hie-bbk01.***.intra:7999/~abhinav.shukla/dev-test.git
[sudo] password for abhinav.shukla:
Cloning into 'dev-test'...
ssh: connect to host ra-hie-bbk01.***.intra port 7999: Connection timed out
fatal: Could not read from remote repository.

Any suggestions? 

1 answer

0 votes
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 06, 2022

Connection time out usually indicates on a big repo or network issues, so my first recommendation would be to create a new empty repo and see if you can clone that without an issue.

If you have an issue cloning an empty repo, it's most likely a network/configuration issue.

If you don't have an issue with an empty repo, try cloning with --depth 1 and/or with --filter=blob:none.

I recommend going over the flags of git clone to try and find which one suit you best.

 

Yes. I am cloning an empty repo, looks like network/key configuration issue. 

I am trying to set up ssh connection on two different servers like Bitbucket is installed in one server and trying to clone the repository in other servers. 

Do you have any suggestions for this scenario? 

Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 07, 2022

Start with this article: https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ and if you still having issues, try this one: https://support.atlassian.com/bitbucket-cloud/docs/troubleshoot-ssh-issues/

These two should help you establish an ssh connection into BitBucket.

Also, try connecting first from a local dev machine. It's usually easier to debug and sometimes even to install software on dev machine rather than on a server.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events