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
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"]
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
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