It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I create a known_hosts file?

Matt Tunney Jul 24, 2017

I'm following this guide for setting up ssh keys for pipelines.

How do I go about setting up an known_hosts file. I can't fns any documentaion that explains how to go about this.


1 answer

1 vote
Sebastian Cole Atlassian Team Nov 09, 2017

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'

Screen Shot 2017-11-10 at 1.25.29 pm.png

Now when you run ssh commands inside your pipeline, your server fingerprint is automatically validated.



Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,236 views 1 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you