sshd error: Kerberos mechanism library initialization error

好久沒裝 Solaris 9 了,裝好上完 Patch 後,只要使用 ssh 連線就會冒出了這 error

sshd[19238]: [ID 432372 auth.error] Kerberos mechanism library initialization error: Can't open/find Kerberos /etc/krb5/krb5.conf configuration file.


阿我又沒有 enable Kerberos 啊,怎麼老是跳這訊息
找了好一會兒在 Sun 竟然找不到資料,一堆都是在講 Kerberos 沒設定正確 blah blah。終於在咕狗發現了解法
Solaris SSH Fun,快快筆記一下 :p

1. Solaris 9 9/05 sshd and kerberos could this be a BUG
在 /etc/ssh/sshd_config 中加入
GSSAPIAuthentication no
GSSAPIKeyExchange no

GSSAPIStoreDelegatedCredentials no

2. Fixing the bad Solaris ssh patch
在 /etc/ssh/ssh_config 中加入
Host *
GSSAPIKeyExchange no
GSSAPIAuthentication no

沒有留言: