ssh does not work

Started by nichky, March 01, 2026, 07:50:25 AM

Previous topic - Next topic

nichky

Hi,

Have you noticed that SSH is not working on v6.0.2?

I've configured the same SSH port on both sites (including the default port), but I'm still getting the following error:

Alex Kirhenshtein

This screenshot looks like an output of the OpenSSH client (https://www.openssh.org), started without parameters.

What have you configured and what are you trying to achieve?

nichky

When im adding node ive added user-name PS and SSH port.

what i want is access to the same note via SSH

too -> Connect -> SSH.

Once i put the user name im gettign the above

nichky

#3
i have one more query.

I have a MikroTik device running OSPF, however it does not appear in the overview and is showing OSPF = No.

Additionally, I have a router running CAPsMAN, but it is showing Wireless Controller=No

Filipp Sudanov

For SSH - please show how your object tool is currently configured.

For MikroTik - is it showing SNMP = Yes? What driver it currently uses (this is also visible in Overview tab).

There's currently no support for CAPsMAN

nichky

SSH ->  cmd /c "ssh %(username)@%u || pause"  -Windows

Filipp Sudanov

Note the %(username) macro in object tool's command line. This object tool has an input field configured, so when tool is executed a dialog with input field should appear. Username should be entered there. If username is not entered, then command line is formed incorrectly.

You can check actual command line by changing
cmd /c "ssh %(in:username)@%u || pause"
to
echo cmd /c "ssh %(in:username)@%u || pause"
it will just display the command line on the screen.

Also, you can use ssh username specified in node properties, in this cause use this command:
cmd /c "ssh %{ssh.login}@%u || pause"
and remove input field from the object tool.