Hello,
I recently updated OpenSSH to the latest stable, but now I cant connect anymore.
When I try to connect with PuTTy I can type my username, but after typing the username and hitting enter it gives me a disconnect message.
The things I checked / tried:
- username is correct configured aka AllowedUser.
- Files are correctly chmod and chown
- SSHD is running
So I tried to run SSHD with the -d option to debug, this is what happened when I started SSHD and connected with PuTTy:
And then SSHD quits. :'(
What can I do to solve this?
I recently updated OpenSSH to the latest stable, but now I cant connect anymore.
When I try to connect with PuTTy I can type my username, but after typing the username and hitting enter it gives me a disconnect message.
The things I checked / tried:
- username is correct configured aka AllowedUser.
- Files are correctly chmod and chown
- SSHD is running
So I tried to run SSHD with the -d option to debug, this is what happened when I started SSHD and connected with PuTTy:
Code:
debug1: sshd version OpenSSH_4.3p2
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: Bind to port 22 on 217.67.xxx.xxx.
Server listening on 217.67.xxx.xxx port 22.
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
debug1: inetd sockets after dupping: 3, 3
Connection from 217.67.xxx.xxx port 33532
debug1: Client protocol version 2.0; client software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH_3.*
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 root service ssh-connection method none
debug1: attempt 0 failures 0
Failed none for root from 217.67.xxx.xxx port 33532 ssh2
Failed none for root from 217.67.xxx.xxx port 33532 ssh2
debug1: userauth-request for user root service ssh-connection method keyboard-interactive
debug1: attempt 1 failures 1
debug1: keyboard-interactive devs
debug1: auth2_challenge: user=root devs=
debug1: kbdint_alloc: devices ''
Failed keyboard-interactive for root from 217.67.xxx.xxx port 33532 ssh2
debug1: do_cleanup
And then SSHD quits. :'(
What can I do to solve this?