NetXMS Support Forum

English Support => General Support => Topic started by: dtk33d on August 22, 2023, 10:08:34 PM

Title: ssh to ubiquiti
Post by: dtk33d on August 22, 2023, 10:08:34 PM
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....





Title: Re: ssh to ubiquiti
Post by: Filipp Sudanov on August 23, 2023, 05:26:13 PM
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.