Chinaunix

标题: Freebsd的sshd的问题 [打印本页]

作者: holduser    时间: 2006-08-06 16:15
标题: Freebsd的sshd的问题
在安装的时候, 已经打开sshd.
安装好后.在另外一台机器上用putty打开.登录root,输入密码后,提示"Using Keyboard-interactive authentication"
服务器上显示"sshd[496]: error: PAM: authentication error for root from ***.***.***.***"

请问如何解决SSH的问题?
提示"Using Keyboard-interactive authentication"的问题是否是键盘布局有问题?服务器和客户机都是用的美式键盘.
作者: 小猪快跑    时间: 2006-08-06 17:04
原帖由 holduser 于 2006-8-6 16:15 发表
在安装的时候, 已经打开sshd.
安装好后.在另外一台机器上用putty打开.登录root,输入密码后,提示"Using Keyboard-interactive authentication"
服务器上显示"sshd[496]: error: PAM: authenticat ...

/etc/ssh/sshd_config
作者: HonestQiao    时间: 2006-08-06 17:45
表是使用按键密码登录啊。

默认root不允许登陆。

你adduser设置其组为wheel,等开路之后,su root
作者: holduser    时间: 2006-08-06 19:21
原帖由 HonestQiao 于 2006-8-6 17:45 发表
表是使用按键密码登录啊。

默认root不允许登陆。

你adduser设置其组为wheel,等开路之后,su root


谢谢
用pw就可以将当前用户加入到wheel中




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2