# 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:
郁闷!
请大侠指点一二,谢啦![/quote]
若通过密钥认证,我的 putty 是这样的提示:
[code:1]Using username "root".
Authenticating with public key "rsa-key-200xxxxx"
Last login: Tue Feb 14 15:26:19 2006 from *.*.*.*[/code:1]