Gitlab repo authentication failed with bamboo

Hi,
I am going to integrate GitLab project repository with bamboo through ssh key based authentication.But when I added the repository and test the connection settings in log it was showing...

[Warning: Permanently added '[127.0.0.1]:57658' (RSA) to the list of known hosts.
BAMBOO-SSH-PROXY: [While connecting to [git@hostname/198.41.85.18:22]: Error while opening SSH session: org.apache.sshd.common.RuntimeSshException: Failed to get the session.]
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.]

I have setup bamboo and gitlab in a same server.
I have tried some commands,

nmap -sS hostname -p 22

Starting Nmap 5.51 ( http://nmap.org ) at 2016-04-04 04:09 CDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.10 seconds

ssh -v git@hostname
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to hostname [198.41.85.18] port 22.
debug1: connect to address 198.41.85.18 port 22: Connection timed out
ssh: connect to host hostname port 22: Connection timed out

I have telnet gitlab server ip with 22 port and it is working.
I have running this server with a corporate firewall
GitLab version 8.0.3
Bamboo version 7.10
OS CentOS 7
I have setup proxy in gitlab.rb

Can anyone suggest me what to do ? How to resolve this issue??

1 answer

198.41.85.18 port 22: Connection timed out

please confirm port on the ssh server

I have confirmed, port 22 is open in iptables. What else I need to confirm?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,788 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you