|
|
|
|
 ssh服务器为什么配置“禁止口令认证”无效? - whepin [ 2006-02-09 16:14 | 623 byte(s)]
 这个打开了吗? - fei [ 2006-02-09 16:18 | 24 byte(s)]
 Re: 这个打开了吗? - whepin [ 2006-02-09 16:27 | 109 byte(s)]
 Re: 这个打开了吗? - yincheng [ 2006-02-14 14:20 | 49 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
我的系统是Debian 3.1 sarge,装了ssh服务器apt-get install ssh。为了禁止ssh服务器的“口令认证”,只允许通过密钥方式进行认证,我修改了/etc/ssh/sshd_config
# Change to yes to enable tunnelled clear text passwords
PasswordAuthentication no
并且重启了ssh服务/etc/init.d/ssh restart(即便重启系统)。
然而配置似乎仍然无效,我使用windows平台下的putty软件登陆该ssh服务器,其仍然提示输入用户名和密码(如下所示)。
login as: cupid
Using keyboard-interactive authentication.
Password:
郁闷!
请大侠指点一二,谢啦!
|
|
|
----
I love free and Linux!But help me freely!
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
cupid:~# cat /etc/ssh/sshd_config |grep Pub
PubkeyAuthentication yes
已经打开了。
|
|
|
----
I love free and Linux!But help me freely!
|
|
[Original]
[Print]
[Top]
|
|
|