Linux 远程登录配置

如果使用FlashFxp的sftp无法登陆,提示SSH 错误: 协商认证模式失败,也同样这样操作

修改你的ssh配置文件
配置文件路径如:/etc/ssh/sshd_config

PasswordAuthentication  yes
PermitRootLogin yes


重启ssh服务,命令如下:

/etc/init.d/sshd restart

/etc/init.d/ssh restart
原文地址:https://www.cnblogs.com/lbnnbs/p/6543453.html