Hi @Mohammad Moussavi ,
Questions related to DevOps is better asked over on https://developercommunity.visualstudio.com/search?space=21. Having said that, you should be able to use a ;
rather than &&
to chain commands together as explained in https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/ssh?view=azure-devops#arguments. You may also be better off having the task use a script file to execute the commands you need.
With regards to the error messages you're seeing, I would run the task with verbose option enabled to get additional information. The first two error messages don't seem like true error messages to me and the last could be appearing because the first two are being marked as errors.
If your app doesn't deploy or startup without issue, indicate the error messages down below.