You first need to provide SSH configuration in app/config/remote.php
Nov 18, 2014
2
Level 2
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;
});
Please or to participate in this conversation.