ssh to ubiquiti

Started by dtk33d, August 22, 2023, 10:08:34 PM

Previous topic - Next topic

dtk33d

I try to connect to ubiquiti gear with ssh but get the error in the log on the client side:
Exit before auth: No matching algo hostkey
in Netxms i get ssh connection not available.

if i connect with tools, connect, ssh, it asks me user and password and connects.

My goal is to have passwordless connection to ubiquiti devices...

Is there a howto ? I tried several times but no luck....






Filipp Sudanov

ssh connections in netxms are performed via agent that is running along with the server. You can try setting debug level 6 for that agent - one way is to stop it via systemctl:

systemctl stop nxagentd

and start in in foreyground:

nxagentd -D 6


Then try running configuration poll for your uniquiti node to see if ssh capability becomes yes. Or try adding a ssh DCI on that node and forcing poll for that DCI. Log of the above agent should have some lines about ssh.