网站开发技术

记点笔记、 学点技术 欢迎交流建站技术。本站关注lamp技术

您尚未登录。

#1 2015-01-21 11:09:20

admin
管理员

putty 连接 linux 的时候, 输入 root 需要等很长的时间才能输入密码 ?

首先连接使用的协议是 ssh

ssh -v ipbbs@localhost

这里假设已经连接, 切换到ipbbs 用户, 看一下ssh 的连接过程。 

发现 最后几行有 not find

ebug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
Credentials cache file '/tmp/krb5cc_0' not found

debug1: Unspecified GSS failure.  Minor code may provide more information
Credentials cache file '/tmp/krb5cc_0' not found

debug1: Unspecified GSS failure.  Minor code may provide more information


debug1: Unspecified GSS failure.  Minor code may provide more information
Credentials cache file '/tmp/krb5cc_0' not found

debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Next authentication method: password

GSS -- 一种安全的机制

直接通过配置文件屏蔽即可

 vim /etc/ssh/ssh_config # 中
 GSSAPIAuthentication no  # 默认是 yes
 # !!! 同样修改 sshd_config 中的值

重启启动

service sshd restart



ipbbs.net

离线

页脚

Powered by FluxBB