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