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

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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

670 views 1 6
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