星期二, 三月 13, 2007

freeBSD 5.3 下ssh不能正常登录

代码:
以下是代码片段:PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys
代码:
以下是代码片段:PasswordAuthentication no PermitEmptyPasswords no 5.3用的是对称密钥的认证方式且禁用了普通密码认证方式。改成以下方式即可.
代码:
以下是代码片段:PubkeyAuthentication no #AuthorizedKeysFile .ssh/authorized_keys
代码:
以下是代码片段:PasswordAuthentication yes PermitEmptyPasswords no

没有评论: