Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

getting ssh to work with private bitbucket server

jitendramohan August 2, 2018

Hi,

I have tried to follow the steps listed but no luck.

Added public key to bitbucket server under "user" section.

eval `ssh-agent`

ssh-add ~/.ssh/id_rsa

ssh-add -l #lists the added key

ssh -T admin@10.0.38.209 #Bitbucket server IP address

Permission denied (publickey).

git clone ssh://admin@10.0.38.209:7999/xxx/xxx.git

Cloning into xxx ...

<hangs for a while>

ssh: connect to host 10.0.38.209 port 7999: Connection timed out
fatal: Could not read from remote repository.

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

git clone with https works. Ideas?

1 answer

1 accepted

0 votes
Answer accepted
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 2018

Hi Jitendra

connect to host 10.0.38.209 port 7999: Connection timed out

suggests that there may be a firewall in between you and Bitbucket Server that is preventing access to port 7999. You might want to review the firewall configuration.

Cheers,

Christian

Premier Support Engineer

Atlassian

jitendramohan August 25, 2018

That was the issue. Thanks!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events