修改sshd_config文件中的KbdInteractiveAuthentication选项为yes

sudo vim /etc/ssh/sshd_config
PasswordAuthentication yes
KbdInteractiveAuthentication yes
sudo systemctl restart ssh
         or
sudo systemctl restart sshd

乐之LZhi24
0 声望0 粉丝

引用和评论

0 条评论