Category : ssh

I have some problem with my Laravel App. I’m trying to execute SSH command like so: $commands = [‘dir’]; SSH::run($commands, function($line) { echo $line.PHP_EOL; }); But it always return Cannot connect to :22. Error 10061. No connection could be made because the target machine actively refused it. I tried to clear config and catche but ..

Read more