SSH 在接受密钥时关闭连接

Ale*_*ysh 5 linux troubleshooting ssh

在服务器的auth.log

来自 MYIP 端口 61313 ssh2 的 agladysh 公钥失败

ssh -vvv

debug1:提供公钥:/Users/agladysh/.ssh/id_rsa
调试 3:send_pubkey_test
debug2:我们发送了一个公钥包,等待回复
debug1:服务器接受密钥:pkalg ssh-rsa blen 277
debug2: input_userauth_pk_ok: fp 指纹
debug3:sign_and_send_pubkey
服务器拒绝连接

我对authorized_keys.

我还检查了:

  • 我的 IP 的 hosts.deny 文件
  • SSH 配置中的 AllowUsers
  • 我在服务器上的默认 shell

任何提示如何调试?

服务器:Ubuntu Server 11.04,客户端:Ubuntu 10.10(密钥从 OS X 转发,适用于其他服务器)。

Ale*_*ysh 7

实际的问题是我的用户在`/etc/shadow 中丢失了。

我会让这个问题保持一段时间,以便人们可以在这里提出更多的故障排除建议。