zoukankan      html  css  js  c++  java
  • SSH File Transfer遇到错误"too many authentication failures for root".A protocol error was detected......

             在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的方式进行登陆,然后连接成功了。



  • 相关阅读:
    基础数据类型:列表
    基础数据类型(数字、布尔值、字符串)
    深浅copy
    集合
    逻辑运算
    poj 2287 Tian Ji -- The Horse Racing(贪心)
    hdu 1547 Bubble Shooter(深搜)
    hdu 1242 Rescue
    hdu 1175 连连看(深搜)
    hdu 2298 Toxophily(数学题)
  • 原文地址:https://www.cnblogs.com/cmderq/p/9130901.html
Copyright © 2011-2022 走看看