赞
踩
使用linux下ssh登陆,
ssh root@xxx.xxx.xxx.xxx
提示“Permission denied, please try again.”
然而我的密码都是对的啊啊啊啊啊。
排查点一:
查看防火墙设置:电脑->控制中心->防火墙 (Computer -> Control Center-> Firewall)
sshd的22端口已经勾选上了。
排查点二:
查看到网上的资料:http://blog.csdn.net/tangyongjiang/article/details/6045176
1. 去编辑sshd_config文件
vi /etc/ssh/sshd_config
2. 把PasswordAuthentication设成yes
别着急,再接着看
3. 去编辑ssh_config文件
vi /etc/ssh/ssh_config
4. 把PasswordAuthentication前面的#号去掉使之生效
5. 重启sshd
/etc/init.d/sshd restart
再一次
ssh root@xxx.xxx.xxx.xxx
连接成功!!!耶!!!!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。