The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SSS into Digital Ocean Server in pipelines.

mshahbazm
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 10, 2017

Hi,
I have been trying to ssh into digitalocean VPS but no luck.
I even tried to make a simple bash script for it but It throws an error
"Permission Denied"

My Pipleline :

pipelines:
  default:
    - step:
        script:
          - echo "Everything is awesome!"
  branches:
    staging:
      - step:
          script:
            - ./do-deploy.sh


do-deploe.sh

echo "Deploying on Digital Ocean..."
ssh -o StrictHostKeyChecking=no -i $My_KEY user@server

echo "Deploying on Digital Ocean..."
ssh -o StrictHostKeyChecking=no -i $My_KEY user@server


Any help will be highly appreciated.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events