no host key checking
This commit is contained in:
@@ -28,6 +28,7 @@ class WaitForServerToConnect implements ShouldQueue, ShouldBeEncrypted
|
|||||||
{
|
{
|
||||||
$process = Ssh::create('root', $this->server->ipv4 ?? $this->server->ipv6)
|
$process = Ssh::create('root', $this->server->ipv4 ?? $this->server->ipv6)
|
||||||
->usePassword($this->rootPassword)
|
->usePassword($this->rootPassword)
|
||||||
|
->disableStrictHostKeyChecking()
|
||||||
->setTimeout(10)
|
->setTimeout(10)
|
||||||
->execute('echo "Connected"');
|
->execute('echo "Connected"');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user