During the build process, your commands may attempt to make an SSH connection to another service such as Github, Codebase or another host. By default we allow connections to any service, however you may manually define hostnames and public keys here to restrict what servers can be connected to with SSH during your build.
To define a known host, navigate to the Known Hosts area at the bottom, within the Build Configuration page in your Build Pipeline, clicking to add a new known host:
Add a description for your host, the public host key below, then click Create Known Host to finish.
When adding a new known host, if you don't know the hostkey, you can obtain it with the command
ssh-keyscan -t rsa example.com | cut -d ' ' -f 2-3. The example below shows the command to retrieve the host key for Codebase:
$ ssh-keyscan -t rsa codebasehq.com 2>/dev/null | cut -d ' ' -f 2-3