mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-25 21:00:18 +02:00
SSH Tweak. Accepts all host connections. No need of interaction with ssh-client for new hosts.
This commit is contained in:
parent
d255bf1717
commit
b65632d628
@ -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 . '"';
|
||||
|
Loading…
Reference in New Issue
Block a user