SSH 登录时出现如下错误:Permission denied, please try again

解决:腾讯云主机控制台登录,先要设置root密码


修改 /etc/ssh/sshd_config 中如下配置:
PermitRootLogin without-password  改成PermitRootLogin yes
重启ssh服务,命令: /etc/init.d/ssh restart

转载于:https://www.cnblogs.com/idjl/p/9610579.html

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐