我目前正在尝试使用openssh在debian上设置SFTP。 我仍然可以用我的所有用户使用SSHlogin,但只要我试图login使用SFTP客户端,如filezilla我得到一个失败的密码错误。 即使是root用户也会返回一个密码失败的错误 我已经在/ etc / ssh / sshd_config中设置了PasswordAuthentication yes ,所以这不是问题 它在我更新openssh-server软件包之前确实有效
PasswordAuthentication yes