Chinaunix首页 | 论坛 | 博客
  • 博客访问: 484189
  • 博文数量: 67
  • 博客积分: 2952
  • 博客等级: 少校
  • 技术积分: 679
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-24 10:50
文章分类

全部博文(67)

文章存档

2011年(9)

2010年(36)

2009年(8)

2008年(5)

2007年(5)

2006年(4)

我的朋友

分类: LINUX

2010-12-15 14:10:00

[what's the issue?]
ssh public key can work on other server, but when I copy to one new installed server as authorized_keys, It doesn't work.

[debug]
on ssh server: run sshd with debug mode

# /usr/sbin/sshd -d

on client, ssh to the server, then you can find the log on the server

Connection from 10.224.106.197 port 38677
debug1: Client protocol version 2.0; client software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug1: permanently_set_uid: 74/74
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug1: userauth-request for user hadoop service ssh-connection method none
debug1: attempt 0 failures 0
User hadoop not allowed because account is locked
input_userauth_request: invalid user hadoop
debug1: userauth-request for user hadoop service ssh-connection method publickey
debug1: attempt 1 failures 1
debug1: userauth-request for user hadoop service ssh-connection method keyboard-interactive
debug1: attempt 2 failures 2
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=hadoop devs=
debug1: kbdint_alloc: devices ''
Connection closed by 10.224.106.197
debug1: do_cleanup
debug1: do_cleanup


[what's the root cause?]
User hadoop not allowed because account is locked

[what's the solution?]
change password for hadoop
阅读(687) | 评论(0) | 转发(0) |
0

上一篇:issue of udev hangs

下一篇:UCS: FEX not configured

给主人留下些什么吧!~~