Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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 use SSH to connect to a DigitalOcean Droplet ?


I have a GatsbyJS repo on bitbucket and I have a hard time building a pipeline. I think using SSH is a good way to go. But I still don't know how to make the connection. Here is my attempt.


- pipe: atlassian/ssh-run:0.4.0


        SSH_USER: 'root'


        COMMAND: su - $WEB_USER && cd web-react && git commit -am "changes" && git pull origin master && npm i && npm run half-prod

        PORT: $PORT

        SSH_KEY: $DO_SSH


        DEBUG: true


1 answer

0 votes
Norbert C Atlassian Team Mar 04, 2022

Hi @Shalaw Fatah 

Thank you for contacting Atlassian Support, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!

Can you let me know what's the error message you receive when you try to connect to the remote server? That would help me troubleshooting the problem you face. 

Also as a suggestion, I would like to recommend you to use the Bitbucket Cloud's internal SSH key solution:

Once you generated the SSH key in Bitbucket Cloud, please add the configured public key under your server's /root/.ssh/authorized_keys file.

Please let us know how it goes, we're here to help.

Best Regards,
Atlassian Bitbucket Cloud Support

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events