I'm following this guide for setting up ssh keys for pipelines. https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html
How do I go about setting up an known_hosts file. I can't fns any documentaion that explains how to go about this.
Thanks
Hey @Matt T,
The `known_hosts` file is created for you when add a system in the ssh-keys UI.
The UI is available under your repository settings -> Pipelines -> SSH Keys.
Enter the remote host address, and click 'Fetch'
Now when you run ssh commands inside your pipeline, your server fingerprint is automatically validated.
-Seb
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.