Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeException Unable to connect to remote server. #79

Open
hilarioperez18 opened this issue Feb 20, 2020 · 1 comment
Open

RuntimeException Unable to connect to remote server. #79

hilarioperez18 opened this issue Feb 20, 2020 · 1 comment

Comments

@hilarioperez18
Copy link

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?

@guillmz
Copy link

guillmz commented Apr 27, 2020

Hi @hilarioperez18 ,
I have the same problem .. did you solve this ?

Looking forward for your comments
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants