[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
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
阅读(680) | 评论(0) | 转发(0) |