We need to deploy files to remote server using by SSH key only. I have tried the below code. But it is not working.
pipelines:
default:
- step:
name: Deploy to test
deployment: test
script:
- pipe: atlassian/sftp-deploy:0.5.7
variables:
USER: 'ubuntu'
SERVER: '15.237.154.215'
REMOTE_PATH: '/var/www/vhosts/cashflash.shop/logs/testing/'
SSH_KEY: '$my_ssh'
DEBUG: 'true'
EXTRA_ARGS: '-o ServerAliveInterval=10'

It is showing the error as I have attached here for your reference.
Please check and do the needful quickly.