Kerberos / GSSAPI authentication doesn't work with Localhost or IP Address

Solution Verified - Updated -

Issue

  • GSSAPI authentication with SSH works as expected with hostname but it prompts for password while using the IP address or localhost.
  • How to make GSSAPI authentication through SSH work with IP address instead of using the hostname ?

Environment

  • Red Hat Enterprise Linux
  • GSSAPI (Kerberos authentication)
  • SSH

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content