使用xshell连接阿里云服务器登陆时密码框为灰色,无法输入密码解决办法

1.使用xshell登陆时,password灰色不能输入密码登录。

使用xshell连接阿里云服务器登陆时密码框为灰色,无法输入密码解决办法

2.解决办法如下:vi/etc/ssh/sshd_config

修改最后一项为yes:PasswordAuthentication yes

接着保存退出,然后重启sshd服务systemctl restart sshd.service然后重新登陆此时,已经可以输入密码了!!!

使用xshell连接阿里云服务器登陆时密码框为灰色,无法输入密码解决办法