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



  • 相关阅读:
    FTP服务
    Samba文件共享服务设置
    Samba
    编译安装-httpd-2.2.15.tar.gz
    分析排查系统故障
    进程--计划任务
    磁盘配额
    LVM卷
    Linux磁盘分区
    用户组权限
  • 原文地址:https://www.cnblogs.com/cmderq/p/9130901.html
Copyright © 2020-2023  润新知