Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Sys Auditing's avatar

Laravel Envoy with SSH timeout issue

Hi,

Laravel Version: 8.36.2
Envoy Version: 2.7
PHP Version: 8.0.5

i'm using Laravel Envoy to deploy and run some artisan command to Prod server, but there is a problem that make me headache, when ssh connection failed, envoy show the error/Exception : ssh: connect to host a.b.c.d port 22: Connection timed out .

This issue occur each time in different Envoy tasks.

My question is how can i define SSH timeout for Laravel Envoy configuration?

Thank you

2 likes
0 replies

Please or to participate in this conversation.