Hi, I've recently created a pipeline using atlassian/scp-deploy:1.2.1.
This is what I've done so far :
My pipeline is triggered when merging with master branch;
ssh: connect to host 127.0.0.1 port 22: No route to host
lost connection
based on this link, adding EXTRA_ARGS: '-P 22222' should've solved it but its not in my case.
After searching for hours, found a way that works for me. We can pass extra arguments to the scp command to use port 8022, and enable extra debugging as below.
script: - pipe: atlassian/scp-deploy:1.2.1 variables: USER: 'ec2-user' SERVER: '127.0.0.1' REMOTE_PATH: '/var/www/build/' LOCAL_PATH: 'build/' DEBUG: 'true' EXTRA_ARGS: ["-P", "8022"]
Yes , i've tried using the capital letter P and non capital
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.
Read the story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.