DEBUG [vcf_om,696.............] [c.v.v.p.u.c.AbstractPasswordChanger,om-exec-18] Error Message : Failed to execute command, error : SSH: Failed to establish
SSH session to vidm1.example.com, Error Token : #####, Error Cause : {}
ERROR [vcf_om,696.........] [c.v.v.p.u.c.AbstractPasswordChanger,om-exec-18] Failed to execute command, error : SSH: Failed to establish SSH session to vidm1.example.com
com.vmware.vcf.passwordmanager.exception.PasswordUpdateException: Failed to execute command, error : SSH: Failed to establish SSH session to vidm1.example.com
at com.vmware.vcf.passwordmanager.update.changers.SshPasswordChanger.doSSHTest(SshPasswordChanger.java:79)
Caused by: com.vmware.evo.sddc.common.util.command.CommandExecuterException: SSH: Failed to establish SSH session to vidm1.example.com
Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
This issue occurs due to a mismatch in the supported SSH algorithms between SDDC Manager and the vIDM appliance.
Specifically, the legacy JSch library used by SDDC Manager for password operations may fail to negotiate a connection if the target appliance prioritizes or exclusively enables specific host keys (like RSA) while disabling others (like ED25519) that the client expects, or vice versa, within the /etc/ssh/sshd_config file.
In this scenario:
Modify the SSH daemon configuration on the Workspaceone / vIDM appliance to prioritize the correct host keys and algorithms.
Steps to follow:
vi /etc/ssh/sshd_config
#HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
systemctl restart sshd