PSMP Failure - Error - Disabled method "keyboard-interactive" in AuthenticationMethods list "keyboard-interactive"
191
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:03 PM
Symptom
PSMP connections fail with these specific errors when running "systemctl status sshd" command:
sshd[3864]: error: Disabled method "keyboard-interactive" in AuthenticationMethods list "publickey,keyboard-interactive"
sshd[4441]: Authentication methods list "keyboard-interactive" contains disabled method, skipping
sshd[4441]: error: No AuthenticationMethods left after eliminating disabled methods
sshd[4441]: error: Disabled method "keyboard-interactive" in AuthenticationMethods list "publickey,keyboard-inter...[preauth]
sshd[4441]: Authentication methods list "publickey,keyboard-interactive" contains disabled method, skipping [preauth]
sshd[4441]: error: Disabled method "keyboard-interactive" in AuthenticationMethods list "keyboard-interactive" [preauth]
sshd[4441]: Authentication methods list "keyboard-interactive" contains disabled method, skipping [preauth]
sshd[4441]: error: No AuthenticationMethods left after eliminating disabled methods [preauth]
sshd[4441]: Disconnecting: no authentication methods enabled [preauth]
Environment
Privilege Cloud PSMP
PSMP - CyberArkSSHD=Integrated
Cause
In the SSHD_Config file, the following parameters configured incorrectly can cause this issue:
# To disable tunnelled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication yes
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no
Resolution
When installing the PSMP in an Integrated mode the following authentication methods require to be enabled especially when using RADIUS:
# To disable tunnelled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication No
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication Yes
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
# WARNING: 'UsePAM no' is not supported in Red Hat Enterprise Linux and may cause several
# problems.
UsePAM Yes
Update the SSHD_config file with the above changes and save the file.
Restart SSHD services - systemctl restart sshd