Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket fatal: Can't access remote

I tried to set up sftp connection between Bitbucket and Runcloud server. Runcloud only uses sftp connection. Bitbucket config:

image: php:7.3

pipelines:
 branches:
   master:
     - step:
         name: Deploy to production
         deployment: production
         script:
           - apt-get update
           - apt-get -qq install git-ftp
           - git ftp init --user $SFTP_username --passwd $FTP_password sftp://runcloud@1.111.111.11/home/runcloud/webapps/mywebsite/wp-content/themes/mywebsiteTheme

Connection always fails with error fatal: Can't access remote 'sftp://1.111.111.11', exiting...

I tried a different sftp Path combination but the result always the same. sftp://1.111.111.11/home/runcloud/webapps/mywebsite/wp-content/themes/mywebsiteTheme sftp://mywebsite/home/runcloud/webapps/mywebsite/wp-content/themes/mywebsiteTheme

My website Root Path: /home/runcloud/webapps/mywebsite Public Path: /home/runcloud/webapps/mywebsite

Runcload have different as "normal" set up for ftp. For example to conect with FileZila HOST is my server ip. And to get to my website i have to navigate /webapps/mywebsite enter image description here

Not sure what I doing wrong is my sftp path incorrect?

1 answer

0 votes
davo20019 I'm New Here Mar 04, 2021

I think you should use the --insecure parameter.

 

git ftp init --user $SFTP_username --passwd $FTP_password --insecure sftp://runcloud@1.111.111.11/home/runcloud/webapps/mywebsite/wp-content/themes/mywebsiteTheme

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in DevOps

Introducing Atlassian Open DevOps

Hey Community! I’m Shana, a member of our DevOps team here at Atlassian. I wanted to make sure you saw our announcement last week about the launch of Open DevOps since you may have missed it amidst a...

490 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you