Gitlab- Invalid CI configuration

So I was writing a script that uses my artifact and deploys it to my digital ocean droplet.
But the Gitlab CI shows that I have an invalid YAML configuration in this job
Here is the script for it…

    - master
  stage: deploy
    - apt-get update -qq
    - apt-get install -qq git
    - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
    - eval $(ssh-agent -s)
    - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
    - mkdir -p ~/.ssh
    - chmod 700 ~/.ssh
    - ssh-keyscan >> ~/.ssh/known_hosts
    - chmod 644 ~/.ssh/known_hosts
    - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
    - ssh goutambseervi@ -t -t -v -o StrictHostKeyChecking=no 'cd /var/www/html; curl -L --header "PRIVATE-TOKEN: ${PRIVATE-TOKEN}" "" -o download;'

Can anyone help me fix this error

Hey, could you please provide the error details?

Man, this error with the last line ‘…ssh gout…’
You could validate your yml with

It tells me:
Error: jobs:ssh goutambseervi@ -t -t -v -o stricthostkeychecking=no 'cd /var/www/html; curl -l --header "private-token config should be a hash