Solving SSH/Kerberos Problems
Kerberos, while powerful, can be cumbersome to configure and deploy. Often, problems that occur with Kerberos are related to misconfiguration of Kerberos, not a software problem with the applications using it. To help determine the cause of connection problems, you can set the following configuration parameters:
The following list describes how to respond to some of the common errors related to using SSH with Kerberos:
Many problems are caused by errors in systemwide or Kerberos configuration. Misconfiguration can cause problems like:
If SSH with Kerberos authentication fails, it is helpful to test another Kerberized application, such as TELNET, which will often fail in the same way as does SSH, pointing to a problem with Kerberos configuration, rather than to an SSH software problem. The SSH server and client diagnostics features show errors and warnings indicating problems with calls to Kerberos library routines. These types of errors list the Kerberos routine that failed and the failure return status. When you repeatedly make changes to host principals and keytab entries and files, existing tickets in the credentials cache can contain stale information, making it appear that your changes to the Kerberos configuration have not taken effect. Use the kdestroy and kinit commands to clear the credentials cache before testing your configuration changes. |