Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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.

0 answers

Suggest an answer

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

Atlassian Community Events