Validating password getting PAM-CM-1341: Failed to establish a communications
search cancel

Validating password getting PAM-CM-1341: Failed to establish a communications

book

Article ID: 279136

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

When trying to validate the password, getting an error for communication failure.

The tomcat logs shows:

2024-02-07T12:29:52.132+0000 SEVERE [TP10] com.cloakware.cspm.server.app.impl.UpdateTargetAccountCmd.invoke UpdateTargetAccountCmd.invoke 15212: PAM-CM-1341: Failed to establish a communications channel to the remote host.
com.cloakware.cspm.server.plugin.NetConnectorException: PAM-CM-1341: Failed to establish a communications channel to the remote host.

Environment

PAM 4.1.2

Cause

Server host key in PAM does not match the one expected from target device

Algorithm negotiation fail: algorithmName="server_host_key"

jschProposal="ssh-rsa,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ecdsa-sha2-nistp521,ssh-dss"

serverProposal="rsa-sha2-512,rsa-sha2-256,ssh-ed25519"

Resolution

Go to Credentials - Applications - and update your unix/solaris definition (target device)

Unmark the default option in target device ssh-2  "Server Host Key" fixed the problem

Additional Information

The login via putty is fine, only fails credentials.