$ [[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config $ ssh -tt centos@13.251.192.208 "cd /var/www/gitlab_variable_red && $dockercompose" Warning: Permanently added '13.251.192.208' (ECDSA) to the list of known hosts. bash: version:: command not found bash: line 1: services:: command not found bash: -c: line 2: syntax error near unexpected token `<' bash: -c: line 2: `<space><space><space>web:' Connection to 13.251.192.208 closed. ERROR: Job failed: exit code 1