Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-11458: SSH Logins Fail After Migrating to Centrify OpenSSH

Authentication Service ,  

19 March,19 at 09:01 PM

Problem: While migrating from stock openssh to Centrify openssh, ssh logins fail after uninstalling stock openssh. 

Cause: When removing stock openssh with the command
yum remove openssh the package is uninstalled along with its dependencies. But the pam stack is also changed and the sshd file is removed. 

ls /etc/pam.d can be executed to confirm the missing sshd file is the issue. 

In /var/log/centrifydc.log the following error might be found as well. 

Dec 30 10:25:57 machine001 adclient[71805]: INFO  AUDIT_TRAIL|Centrify Suite|Centrify sshd|1.0|105|SSHD denied|5|user=dwirth(type:ad, pid=73230 utc=1544557197956 centrifyEventID=27105 DASessID=N/A DAInst=N/A status=DENIED service=ssh-connection tty=(no tty) authMechanism=keyboard-interactive reason=AUTH_FAIL_KBDINT(failed in keyboard interactive authentication.) MfaRequired=false\\machine001

1)Do not uninstall stock openssh, it is disabled after the installation of Centrify OpenSSH is complete. 
2)Take a backup of the /etc/pam.d/sshd before uninstalling stock openssh and restore it afterwards.