Forums

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

Why is pipeline step using an old known_hosts file even if I update respository ssh key fingerprint?

DoliS December 4, 2024

I've updated the fingerprints in the repository's setting section for ssh keys. (also remove the old ones).  However, I have a step that rsyncs using ssh and it's throwing an error that the known_hosts entry does not match the servers - I can see it's the old one.  Is it cached? is there a way to clear it? is there a bug that is preventing the known_hosts file from updating?  

Thanks for any insight!

UPDATE: I was using atlassian/default-image:4 build (with a step to install rsync). When i reverted to default-image:2 (with rsync already installed) - It worked again. But still would like to know why the build was not updating the known_hosts file.

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 5, 2024

Hey @DoliS 

I am unable to reproduce the issue so could you please provide more information, such as whether you use a pipe for the rsync or an example of steps that will help me reproduce the issue on my end?

Thanks!

Regards,
Syahrul

Suggest an answer

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

Atlassian Community Events