You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: