mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-24 09:22:14 +02:00
StrictHostKeyChecking=no for proxy
This commit is contained in:
parent
51156c13f9
commit
443033ddeb
|
@ -198,7 +198,7 @@ abstract class AbstractTask
|
|||
|
||||
$localCommand = 'ssh ' . $this->getConfig()->getHostIdentityFileOption() . $needs_tty . ' -p ' . $this->getConfig()->getHostPort() . ' '
|
||||
. '-q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no '
|
||||
. ($this->getConfig()->getSshProxy() ? sprintf('-o ProxyCommand="ssh -W %%h:%%p %s" ', $this->getConfig()->getSshProxy()) : '')
|
||||
. ($this->getConfig()->getSshProxy() ? sprintf('-o ProxyCommand="ssh -W %%h:%%p -o StrictHostKeyChecking=no %s" ', $this->getConfig()->getSshProxy()) : '')
|
||||
. $this->getConfig()->getConnectTimeoutOption()
|
||||
. ($this->getConfig()->deployment('user') != '' ? $this->getConfig()->deployment('user') . '@' : '')
|
||||
. $this->getConfig()->getHostName();
|
||||
|
|
Loading…
Reference in a new issue