I am trying to run SSH command on ec2 linux instance, but it is not running or not even throwing any error
I wrote this command in laravel command and running script through terminal.
Please help
$process = Ssh::create('ec2-user', $publicIP)->usePrivateKey(public_path('Web-SDP.pem'))->execute(
'streamlink twitch.tv/nickmercs best,1080p60,1080,720,480,worst --output ~/test.mp4 --retry-streams 10 --force --retry-max 360 --retry-open 20 --twitch-disable-hosting --twitch-disable-ads'
);
echo $process->isSuccessful();
echo $process->getOutput();
I am trying to run SSH command on ec2 linux instance, but it is not running or not even throwing any error
I wrote this command in laravel command and running script through terminal.
Please help