我刚刚将我的 Mac OS 升级到 10.7 Lion。
之前它运行得很好。但是,现在只有 kinit 可以正常工作,无法 ssh 到我的服务器。
重新安装“Mac OS X Kerberos Extras”后,情况没有任何好转。
有人能帮我吗?非常感谢!!
我的命令行:
Myname$ ssh [email protected] -v
......
debug1: Authentications that can continue: gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: Miscellaneous failure (see text)
UNKNOWN_SERVER while looking up 'host/[email protected]' (cached result, timeout in 1200 sec)
debug1: An invalid name was supplied
unknown mech-code 0 for mech 1 2 752 43 14 2
debug1: Miscellaneous failure (see text)
unknown mech-code 0 for mech 1 3 6 1 5 5 14
debug1: Authentications that can continue: gssapi-with-mic,password
debug1: An unsupported mechanism was requested
unknown mech-code 0 for mech 1 3 5 1 5 2 7
debug1: Miscellaneous failure (see text)
unknown mech-code 0 for mech 1 3 6 1 5 2 5
debug1: Next authentication method: password
[email protected]'s password:
答案1
您需要通过 SSH 连接到服务器的 FQDN,而不是其 IP 地址。确保服务器的主体名称是 FQDN。