SSH 不再接受单个用户的密码

SSH 不再接受单个用户的密码

SSH 对我来说已经工作了很长时间,但现在不行了。我无法通过密码访问我的主机(本地托管)

etc/ssh/sshd_config

PermitRootLogin yes
PasswordAuthentication yes
port 22222

我不使用公钥,我从未使用过公钥。我的主机和客户端上都没有公钥。

我一直使用密码连接,但现在却无法连接...发生的情况是这样的。

ssh -v 192.168.xxx.xx -p 22222 -l mother
OpenSSH_8.4p1, OpenSSL 1.1.1h  22 Sep 2020
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.xxx.xx [192.168.xxx.xx] port 22222.
debug1: Connection established.
debug1: Next authentication method: password
[email protected]'s password: 
Permission denied, please try again.
[email protected]'s password: 

它不需要我的密码重新启动注销并重新登录 faillock --reset --user mother 从 root 更改密码

我可以正常登录但无论是本地还是从另一台电脑我都无法 ssh 登陆,它拒绝我的密码。

我可以通过 ssh 登录 root 账户,但无法登录我的用户账户

注意:我没有安装或运行防火墙

相关内容