You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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?
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.