I have a Kerberos server and a Kerberos client on one Realm. Both of these machines have OpenSSH Server and Client installed and configured in the same way to use Kerberos GSSAPI authentication.
I can easily connect from the client to the server but not from the server to the client. I can't find the reason why this isn't working, as it is functional in one direction.
Here is a portion of the logs I am getting from SSH:
debug1: KEX done [preauth]
debug1: userauth-request for user john service ssh-connection method none [preauth]
debug1: attempt 0 failures 0 [preauth]
debug1: PAM: initializing for "john"
debug1: PAM: setting PAM_RHOST to "192.168.0.1"
debug1: PAM: setting PAM_TTY to "ssh"
debug1: userauth-request for user john service ssh-connection method gssapi-with-mic [preauth]
debug1: attempt 1 failures 0 [preauth]
Postponed gssapi-with-mic for john from 192.168.0.1 port 46994 ssh2 [preauth]
debug1: Got no client credentials
Failed gssapi-with-mic for john from 192.168.0.1 port 46994 ssh2
debug1: userauth-request for user john service ssh-connection method gssapi-with-mic [preauth]
debug1: attempt 2 failures 1 [preauth]