Forums

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

not able to fetch known_hosts & ssh failed

Ramesh Gedupuri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 6, 2019

Dear Team,

 

I am facing the below issue in bitbucket pipeline

 

1. Not able to fetch known_hosts

2. ssh: connect to host 192.168.1.141 port 22: Connection timed out

 


- Generated the ssh keys on my repository and add the public keys in

authorized_keys on my server

 

- copied the public key to Access key in bitbucket  from my server

 

Added the known_hosts on server

ssh-keyscan -H <IP-address> >> ~/.ssh/known_hosts

 

But when I try to fetch in ssh-keys tab, I am not able to fetch - Not sure what is the probllem

 

Could you please assist

1 answer

0 votes
jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 9, 2019

You cannot use that IP with Pipelines. It is non-routable, and intended only for use in private networks (per RFC1918).

You will need to give Pipelines a public IP address for that system.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events