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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.