I can't add the ip address of my jump server to known hosts of ssh

Ker Tenepere June 7, 2022

I'm making a pipeline where I need to connect from bitbucket pipelines to jump server inside of a bastion host server. The problem is Known Host in SSH isn't accepting my jump server's ip address.

Repository > Repository Settings > SSH Keys > Known Hosts

 

Known Host only accepts the ip address of bastion host server, the problem is it doesnt accept servers inside of bastion server.

 

Example:

Bastion Server IP: 54.222.222.11

Bation Server PORT: 8888

Jump Server IP: 172.222.222.1

 

Working format

54.222.222.11:8888 # Known Host accepts this format for bastion Host

 

Not working

172.222.222.1

54.222.222.11:8888 172.222.222.1

54.222.222.11 8888 172.222.222.1

172.222.222.1 54.222.222.11:8888 

54.222.222.11:8888,172.222.222.1

54.222.222.11:8888-172.222.222.1

 

Please Help me

From Repository's Pipeline, I'm trying to connect to Jump Server.

I know this works because in my local machine, I can connect directly to Jump Server.

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 21, 2022

Hey Ker,

Just stepping in here as I have noticed that you have yet to receive a response from our community.

A common issue that can occur when adding the IP address to your known hosts in the Bitbucket Cloud UI is that the IP address is being blocked somewhere by the server.

Can you please make sure you whitelist the following IP addresses from the link below - and also ensure port 22 is open on them and let me know how this goes:
https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html 

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events