Magallanes deploy unable to connect via ssh key
<p>I am trying to deploy a Symfony2 PHP project on Ubuntu 15.10 with <a href="http://magephp.com/" rel="nofollow">MagePHP</a>, but it always asks me for the SSH users password when executing:</p>

<pre><code>sudo php vendor/andres-montanez/magallanes/bin/mage deploy to:staging
</code></pre>

<p>When checking the log I can see it stops at this command:</p>

<pre><code>ssh  -p 22 -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ssh-user@my-domain.com "sh -c \"mkdir -p /customers/489176_10999/websites/my_company/symfony/staging/releases/20160902094526\""
</code></pre>

<p>Executing this command by itself works fine (so the server accepts the ssh key), but from within the context of the deployment script it doesn't.</p>

<p>I am quite puzzled by this, since both commands are run from the same directory. Any ideas how I can make this work?</p>