The scp-deploy pipe's README.md, as it's first example, shows that the proper format for the EXTRA_ARGS command is a string:
YAML Definition
Add the following snippet to the script section of your bitbucket-pipelines.yml file:
- pipe: atlassian/scp-deploy:1.5.1
variables:
USER: '<string>'
SERVER: '<string>'
REMOTE_PATH: '<string>'
LOCAL_PATH: '<string>'
# SSH_KEY: '<string>' # Optional.
# EXTRA_ARGS: '<string>' # Optional.However, the examples further down show the proper syntax, which is an array of strings:
EXTRA_ARGS: ['-o', 'ServerAliveInterval=10']
Further, the yaml schema in vscode expects a string and not an array. It shows the array as an error:

The array runs perfectly, it just took me a minute to figure it out due to the false flags. Any way we can get the documentation and the yaml-schema updated?
Thanks,
Chris