fatal can't access in Butbicket pipeline

Chirannjevi Panala September 18, 2021
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
Atlassian Team members are employees working across the company in a wide variety of roles.
November 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
AUG Leaders

Atlassian Community Events