NetXMS Support Forum

English Support => General Support => Topic started by: nichky on March 01, 2026, 07:50:25 AM

Title: ssh does not work
Post by: nichky on March 01, 2026, 07:50:25 AM
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:
Title: Re: ssh does not work
Post by: Alex Kirhenshtein on March 02, 2026, 08:55:00 AM
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?
Title: Re: ssh does not work
Post by: nichky on March 02, 2026, 11:22:43 AM
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
Title: Re: ssh does not work
Post by: nichky on March 03, 2026, 01:50:14 PM
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
Title: Re: ssh does not work
Post by: Filipp Sudanov on March 10, 2026, 04:08:19 PM
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
Title: Re: ssh does not work
Post by: nichky on March 11, 2026, 07:10:21 AM
SSH ->  cmd /c "ssh %(username)@%u || pause"  -Windows
Title: Re: ssh does not work
Post by: Filipp Sudanov on April 07, 2026, 04:27:08 PM
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.