When I log via ssh to another machine
# ssh gandalf@rohan.lotr.com
unable to initialize mechanism library [/usr/lib/gss/gl/mech_krb5.so]

the following message appears was appears

rohan.lotr.com sshd[23418]: [ID 530472 auth.error] Kerberos mechanism library initialization error:
Can't open/find Kerberos /etc/krb5/krb5.conf

Workaround:

Edit /etc/ssh/ssh_config and add the following

Host *
StrictHostKeyChecking no
GSSAPIKeyExchange no
GSSAPIAuthentication no

Popularity: 48% [?]

You Should Also Check Out This Post:

More Active Posts: