Hi There!
I'm using Rsync Deploy bitbucket pipeline and I tried to deploy to a server with a different SSH port and it doesn't work.
Below are the list of configs I have tried so far.
Is there any other of doing this?
Thanks
Hi @Shabith Thennakone ,
Well, the issue with your configuration is that bash doesn't handle quotes nicely, which causes various syntax errors. I don't think there is currently a way to avoid that. If you can setup an rsync daemon on your server you should be able to use the --port option in EXTRA_ARGS to connect. We might be able to add a support for custom SSH ports to the pipe at some point.
Thanks @Alexander Zhukov
Until you guys support SSH ports I will use rsync command itself. Thanks for your support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Shabith Thennakone
now you can use new pipe Rsync deploy version with SSH_PORT parameter:
script: - pipe: atlassian/rsync-deploy:0.2.0 variables: USER: 'ec2-user' SERVER: '127.0.0.1' REMOTE_PATH: '/var/www/build/' LOCAL_PATH: 'build' DEBUG: 'true' SSH_PORT: '8022'
Cheers,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.