title: Can not execute script via ssh
body: <p>I have remote machine and trying execute bash script to redeploy application after travis ci build is completed. I use <code>sshpass</code> to connect. But I cannot execute script.</p>
  
  <pre><code>echo "Starting deployment"
  export SSHPASS=$PASSWORD
  sshpass -e ssh -o stricthostkeychecking=no deploy-user@deploy-server.com "bash /opt/redeploy.sh"
  </code></pre>
  
  <p>And after this I got <code>: No such file or directory</code> after travic ci deploy phase.
  But when I trying to execute this command :</p>
  
  <pre><code>sshpass -e ssh -o stricthostkeychecking=no deploy-user@deploy-server.com "touch /opt/myfile"
  </code></pre>
  
  <p>File successfully created. <code>redeploy.sh</code> is located in <code>/opt</code> directory and can be executed via terminal. But it can not be executed via this script.
  Can anybody help me?</p>
  
  <p>redeploy.sh has such content </p>
  
  <pre><code>#!/bin/bash
  docker-compose -f /opt/docker-compose.yml stop
  docker-compose -f /opt/docker-compose.yml pull
  docker-compose -f /opt/docker-compose.yml up -d
  </code></pre>