Getting an error when trying to trigger inventory sync for identity manager from lifecycle manager.
Error Code: LCMVIDMIMPORT0018
Unable to verify SSH user's password. Ensure the password is not already expired and retry after providing valid credentials.
Cannot execute ssh commands. Exception encountered : Session.connect: java.security.spec.InvalidKeySpecException: key spec not recognized
The /var/log/vrlcm/vmware_vrlcm.log file shows:
The above error info all over in it:
2025-09-08T20:01:03.292Z INFO vrlcm[1257] [http-nio-8080-exec-2] [c.v.v.l.r.c.RequestController] -- Retry error cause data : [ { "messageId" : "LCMVIDMIMPORT0018", "message" : "Unable to verify SSH user's password. YXYXYXYX the password YXYXYXYX already expired and retry after providing valid credentials.", "eventId"............, "exceptionMessage" : "Cannot execute ssh commands. Exception encountered : Session.connect: java.security.spec.InvalidKeySpecException: key spec not recognized"
It shows the error messages in the log file:
Sep 08 21:32:55 <FQDN of IDM node> sshd[12690]: error: Received disconnect from <LCM-IP> port Deprecated option RhostsRSAAuthentication
Sep 08 21:32:55 <FQDN of IDM node> sshd[12690]: error: Received disconnect from <LCM-IP> port 60324:3:java.security.spec.InvalidKeySpecException: key spec not recognized [preauth]
Sep 08 21:32:55 <FQDN of IDM node> sshd[12690]: Disconnected from <LCM-IP> port 60324 [preauth]
VMware identity Manager 3.3.x
Aria Suite Lifecycle 8.x
/etc/ssh/sshd_config do not match between the two appliances.ServiceInstance PostgreSQL table may contain duplicate entries for the old and new IP addresses, causing LCM to attempt connections to unreachable old IPs.sshuser password on the vIDM appliance has expired or is locked.Confirm that the sshuser password is active and not locked on all vIDM nodes:
root.Ensure that Aria Suite Lifecycle and all vIDM nodes support the same cryptographic algorithms:
/etc/ssh/sshd_config on the Aria Suite Lifecycle appliance and each vIDM node.Ciphers, MACs, and KexAlgorithms.If the issue persists after a Re-IP or migration:
If the deprecated SSH cryptographic settings were not removed from VIDM Appliance, that was recommend from Aria Suite Lifecycle 8.14 and later versions, follow the procedures explained in KB to Remove the deprecated SSH cryptographic settings from VIDM Appliance.