I am trying to implement Single Sign On using kerberos with ssh. I changed the below files and restarted the ssh daemon.
GSSAPIAuthentication yes GSSAPIDelegateCredentials yes
When I am trying to ssh from an ubuntu machine to centos. I got the below exception
Unspecified GSS failure. Minor code may provide more information Cannot contact any KDC for requested realm
But I am able to login without using password from centos machine to ubuntu. Kinit is working fine in both machines.
What is the problem here?