Skip to content

script is not throwing any error or executing #45

Description

@azeemgujjar

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();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions