When using Foglight 7.1.5 or higher with support for new ciphers and algorithms for SSH connections, an agent fails to connect with error "Cannot negotiate, proposals do not match" as described in HostKeyAlgorithms support for Linux/Unix host monitoring (4341725).
The following error is present in the agent log:
VERBOSE [HostActivitiesCreator[4]-0] com.quest.glue.core.remoteconnection.ssh.SSHConnectionServiceImpl - Connecting to xyz.xyz.xyz.xyz:22 using keyboard interactive authentication
WARN [HostActivitiesCreator[4]-0] com.dell.foglight.infrastructure.delegate.AbstractUnixAgentDelegate - Unable to connect to host "xyz.xyz.xyz.xyz"
com.quest.glue.api.services.RemoteConnectionException: A connection could not be established to xyz.xyz.xyz.xyz:22
...
Caused by: com.quest.glue.api.services.ConnectionRefusedException: The remote machine is visible but has refused the connection
at com.quest.glue.core.remoteconnection.ssh.SSHGanymedConnectionImpl.reconnect(SSHGanymedConnectionImpl.java:542)
...
Caused by: java.io.IOException: Key exchange was not finished, connection is closed.
at ch.ethz.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:77)
at ch.ethz.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:175)
at ch.ethz.ssh2.Connection.connect(Connection.java:798)
at com.quest.glue.core.remoteconnection.ssh.SSHGanymedConnectionImpl.reconnect(SSHGanymedConnectionImpl.java:528)
... 52 more
Caused by: java.io.IOException: Cannot negotiate, proposals do not match.
at ch.ethz.ssh2.transport.ClientKexManager.handleMessage(ClientKexManager.java:124)
at ch.ethz.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:600)
at ch.ethz.ssh2.transport.TransportManager$1.run(TransportManager.java:267)
... 1 more
Different connection library being used when the credential is of type "Challenge Response".
WORKAROUND
Use a credential of type "User Name and Password" or "RSA Key" .
STATUS
This issue has been logged as defect Id. FOG-11273. Waiting for a fix in a future release of Foglight.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center