Add a trusted SSH known host for pipelines
One step with Bitbucket. We can help you get access.
Get something done
Add a trusted SSH known host for pipelines
with Bitbucket · Continuous Integration Management
Use Bitbucket: its Bitbucket Pipelines API lets you add a trusted SSH known host for pipelines in a single step (POST /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts). capabilities.work can help you get signed up and connected.
- How do I add a server to my pipeline's known_hosts so SSH doesn't prompt?
- Can I trust a new host's public key for builds in one repository?
Say it to your AI assistant
- Add known host {hostname} with public key {public_key} to {workspace}/{repo_slug}.
- Trust host {hostname} for pipelines SSH on repo {repo_slug}.
For your developer
POST /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts in Bitbucket Pipelines API. Full spec on APIs.io.