Forums

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

Port 22 timing out

kwesiaryee September 18, 2024

Port 22 has been disabled on my vps for port 1035. Due to this i just can't upload my repository via pipelines to my server. I can however do an ssh from bitbucket to setup ssh connection via IP:1035, but anytime i do with pipeline even with IP:1035, it return  with port 22 timeout. 

How can i solve this?

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2024

Hey @kwesiaryee ,

Looks like you have posted similar questions before:

I have added a suggestion that in that previous questions that if you're making use of the  atlassian/scp-deploy pipe to make your deployment, you may have it not correctly setup for the custom port.

To define a custom part when using the  atlassian/scp-deploy pipe, you'll need to set the EXTRA_ARGS variable, as in the following example:

script:
  - pipe: atlassian/scp-deploy:1.5.1
    variables:
      USER'ec2-user'
      SERVER'127.0.0.1'
      REMOTE_PATH'/var/www/build/'
      LOCAL_PATH'build/'
      DEBUG'true'
      EXTRA_ARGS: ["-P""1035"]

Thank you, @kwesiaryee !
Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events