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_Tunney,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.