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

Ortix's avatar

Can't use laravel SSH on my vagrant VM

For some reason I can't get Laravel's SSH wrapper to work.

I get this error:

Cannot connect to :22. Error 110. Connection timed out

when running this:

$command = [
    'echo "test"',
];
SSH::run($command, function ($line) {
    echo $line . PHP_EOL;
});
0 likes
2 replies

Please or to participate in this conversation.