SSH File Transfer遇到错误"too many authentication failures for root".A protocol error was detected......

时间:2015-03-22 12:12:23   收藏:0   阅读:1330

         在SSH  Secure Shell 连接Linux centos的时候,遇到F-Secure SSH File Transfer错误"too many authentication failures for root".A protocol error was detected.This usually indicates a bug in the SSH application(either client or server).

技术分享

网上有种方法是这样的:修改了客户端的设置Edit->Setting->rofile settings->Connection->Authentication ,把认证方法的顺序调整成。Password位于最上方即可.这种方法在64位Win7的电脑上是不好使的(因为本人用的就是这样的机器)。那该怎么办呢?网上还有一种方法:
         进入单用户模式(维护模式)
         打开文件 /etc/ssh/sshd_config
         修改 MaxAuthTries 这个参数的值,然后再把PermitRootLogin 改为yes。
楼主自己试了一下,把设置改成这样的,然后重启了centos,结果还是不行!
后来我按照如下的方式去做,成功的连接了:
先是修改root用户名的密码,在centos中输入passwd,然后重启。
在客户端SSH Secure Shell中以username:root的方式进行登陆,然后连接成功了。

技术分享


原文:http://blog.csdn.net/whq19890827/article/details/44535849

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!