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
4,299,977
Community Members
 
Community Events
165
Community Groups

fatal can't access in Butbicket pipeline

Edited
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
pipelines:
default:
- step:
name: 'Deployment to Staging'
deployment: staging
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp init --user $SFTP_Username --passwd $SFTP_Password --insecure sftp://111.111.111.111/

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://111.111.111.111/

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

I look forward to hearing from you.

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
TAGS
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