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

fatal can't access in Butbicket pipeline

I am getting “fatal can't access remote” error in bitbucket pipeline, i am using the below, I tried the host and credentials through the FileZilla, that works without any issues.
image: atlassian/default-image:2
- step:
name: 'Deployment to Staging'
deployment: staging
- apt-get update
- apt-get -qq install git-ftp
- git ftp init --user $SFTP_Username --passwd $SFTP_Password --insecure sftp://

1 answer

0 votes
Syahrul Atlassian Team Nov 24, 2021

Hi @Chirannjevi Panala

Can you add -vv in the FTP commands for more verbose output and share it with me? Also,  please remove or mask any unnecessary information before you share it. 

For example:

git ftp init -vv --user $SFTP_Username --passwd $SFTP_Password --insecure sftp://

This should give more information on why the FTP is failing to connect with your server.

I look forward to hearing from you.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,248 views 2 9
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