一日三省吾身

 

使用SSH发现root用户不能远程登陆的解决办法

客户端是XP系统下用Putty
SSH登陆,总是显示交互式键盘,就是不让登陆

QUOTE:
login as: ericzhao
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.
Password:
sshd_config 采用默认设置。

解决办法如下:
默认的情况下 /etc/ssh/sshd_config 是一个 全部注释得文件 去掉注释 PermitRootLogin  yes  就可以 用 root 登陆了:)
如果有需要可以通过/etc/init.d/sshd重起sshd程序!



posted on 2007-05-16 18:08 lunar_solar 阅读(11161) 评论(1)  编辑  收藏 所属分类: Linux

评论

# re: 使用SSH发现root用户不能远程登陆的解决办法 2007-08-09 18:22 dreamstone

sshd可以配置ssh2,使用非对称加密,不需要密码登录。安全性更高,也更方便。  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 

导航

统计

常用链接

留言簿(2)

随笔分类

随笔档案

文章分类

搜索

最新评论

阅读排行榜

评论排行榜