diff --git a/Mage/Task/TaskAbstract.php b/Mage/Task/TaskAbstract.php index 3b9c5b4..77d3e78 100644 --- a/Mage/Task/TaskAbstract.php +++ b/Mage/Task/TaskAbstract.php @@ -45,7 +45,7 @@ abstract class Mage_Task_TaskAbstract $releasesDirectory = ''; } - $localCommand = 'ssh ' + $localCommand = 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ' . $this->_config->deployment('user') . '@' . $this->_config->getHost() . ' ' . '"cd ' . rtrim($this->_config->deployment('to'), '/') . $releasesDirectory . ' && ' . $command . '"';