In Control-M Configuration Manager (CCM), when setting up a connection profile in Control-M MFT plug-in and when testing the connection profile, an error message appears in a display with the following error messages: Failed to validate 'XXXXXX' Account XXXXXX validation failed: Failed to validate host account: Can't connect to host 'yyyyyyyyy'. Error: Problem with authentication or login. Please check your credentials In the logs ($Agent Home Directory/proclog/ctmmft*log and $Agent Home Directory/proclog/ctmhub.log) you can see the following messages: In ctmmft-921200.log: 2024-02-28 13:17:49,563 WARN [qtp176683244-25] (SftpWrapper:347) - com.jcraft.jsch.JSchException: Auth fail for methods 'password,keyboard-interactive,publickey' com.jcraft.jsch.JSchException: Auth fail for methods 'password,keyboard-interactive,publickey' In ctmhub.log: 2024-02-28 13:17:49,543 ERROR [sshd-SshServer[6cb662e8](port=1222)-nio2-thread-1] (PAMUserManager:60) - Can't authenticate user myuser org.jvnet.libpam.PAMException: pam_authenticate failed : Authentication failure |
Consult your System Administrator for assistance as needed: 1. Access the file /etc/pam.d/passwd 2. Make sure that the lines auth include system-auth and account include system-auth are present in the file as shown below: ################################## #%PAM-1.0 auth include system-auth account include system-auth password include system-auth password requisite pam_cracklib.so retry=3 ################################## Otherwise, add those lines. Below you can see the difference between the wrong configuration and the right configuration |