Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to configure SSH run with password?


Hello my hosting provider does not support ssh key for the ssh connections.

Can you describe how to use the pipeline ssh-run by Atlassian to connect with passowrd?


I need this feature to unzip the archive on the server.

I evaluate the bitbucket as alternative to Azure DevOps.

2 answers

This question is not really related to Bitbucket/Pipelines in any capacity. Although, to help you get started I've found these two resources that should get you sorted.

Be sure to store your password in a secret. If you are able to it would also be good practice to setup a purposely created account solely for the purpose you are trying to achieve.

0 votes

Hi @mklemarczyk,

I'm afraid that we don't support password authentication with the ssh-run pipe.

You can look into the links that Rob provided, and instead of using the ssh-run pipe, you can include commands in your bitbucket-pipelines.yml file for connecting to your server and running the command or bash script you want.

If you want to use Pipelines that run in our own infrastructure, the builds run in Docker containers. If the Docker container you are using as a build environment doesn't have ssh and sshpass installed, you can install them during the builds by adding the installation commands in the bitbucket-pipelines.yml file, or you can create a custom Docker image with these tools and use that instead.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events