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

Unable to Establish Socket Session on RouterOS 7.15: "No Connection Could Be Made" Error on SSH Connection #125

Open
ahmadfoysal opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ahmadfoysal
Copy link

Version of RouterOS
Router OS version 7.15

To Reproduce
// Initiate client with config object
$client = new Client([
'host' => '192.168.1.3',
'user' => 'admin',
'pass' => 'admin',
'ssh_port' => 22222,
'ssh_timeout' => 60, // if not set then 30 seconds by default
]);

Expected behavior
It returning "Unable to establish socket session, No connection could be made because the target machine actively refused it." when "ssh_port" is given.
Works smoothly with api port.

@ahmadfoysal ahmadfoysal added the bug Something isn't working label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants