Skip to content

RuntimeException Unable to connect to remote server. #79

@hilarioperez18

Description

@hilarioperez18

Hi, I'm trying to make an SSH connection to my server.
This is my configuration file. The username and password are 100% legal since in my machine from the terminal I can access it.

 'servidor' => [ 
           'host'      => 'my_host',
            'username'  => 'admin',
            'port'      => 'my_port',
            'password'  => '*****',
            'key'       => '../config/id_rsa',
            'keytext'   => '',
            'keyphrase' => '*****', 
            'agent'     => '',
            'timeout'   => 30,
            'directory' => '../config/id_rsa',
        ]
    ]

I am trying to access with the simple run command

SSH::into('servidor')->run('echo hello world;');

And I get this error
image

In this function:
image

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions