红联Linux门户
Linux帮助

SecureCRT SSH登录ubuntu出错:Password authentication failed

发布时间:2017-04-30 10:45:00来源:linux网站作者:xieyi2015
1.首先确保ubuntu安装ssh服务。通过ps -e | grep ssh查看,如果 sshd表示ssh已成功启动。
 
2.通过SecureCRT登录ssh服务
SecureCRT SSH登录ubuntu出错:Password authentication failed
提示错误:Password authentication failed, Please verify that the username and passwd are correct.
SecureCRT SSH登录ubuntu出错:Password authentication failed
 
3.经过一番检查,发现/etc/ssh/sshd_config配置选项中”PremitRootLogin"中禁止了Root的登录权限
SecureCRT SSH登录ubuntu出错:Password authentication failed
更改如下:PremitRootLogin yes
SecureCRT SSH登录ubuntu出错:Password authentication failed
 
4.重启ssh服务
SecureCRT SSH登录ubuntu出错:Password authentication failed
 
5.登录成功
SecureCRT SSH登录ubuntu出错:Password authentication failed
 
本文永久更新地址:http://www.linuxdiyf.com/linux/30405.html