openssh problem
tan_chee_koon at iesingapore.gov.sg
tan_chee_koon at iesingapore.gov.sg
Sat Jul 27 12:15:04 EST 2002
Hi SSH developers,
> I have a Solaris 8 machine which I have installed openssh ver3.4p1 from
> www.sunfreeware.com.
> I have configured it to work in a chroot environment and the daemon is
able
> to start without any
> problem.
>
> I start the sshd daemon as follows :
>
> /usr/sbin/chroot /ftphome /usr/local/sbin/sshd
>
> I do a sftp connection to the localhost to test the connection.
>
> However, there is still an error while connecting. This error occur after
I
> enter my
> password successfully. The error message is as follows :
>
> sshd [1944] : fatal : monitor_read : unsupported_request : 24.
>
> It seemed to me that the login went through but it simply disconnects
> immediately after that with the above error message.
>
> Seeking your advice please.
>
> I attached the debug session from the sshd as follows. I am very sure the
> password is correct.
>
> Thanks
>
==============================================================================
>
> debug1: sshd version OpenSSH_3.4p1
> debug1: private host key: #0 type 0 RSA1
> debug1: read PEM private key done: type RSA
> debug1: private host key: #1 type 1 RSA
> debug1: read PEM private key done: type DSA
> debug1: private host key: #2 type 2 DSA
> debug1: Bind to port 22 on ::.
> Server listening on :: port 22.
> debug1: Bind to port 22 on 0.0.0.0.
> Server listening on 0.0.0.0 port 22.
> Generating 768 bit RSA key.
> RSA key generation complete.
> debug1: Server will not fork when running in debugging mode.
> Connection from 127.0.0.1 port 32948
> debug1: Client protocol version 2.0; client software version
OpenSSH_3.4p1
> debug1: match: OpenSSH_3.4p1 pat OpenSSH*
> Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-1.99-OpenSSH_3.4p1
> 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: dh_gen_key: priv key bits set: 134/256
> debug1: bits set: 1602/3191
> debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
> debug1: bits set: 1528/3191
> debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
> debug1: kex_derive_keys
> debug1: newkeys: mode 1
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: waiting for SSH2_MSG_NEWKEYS
> debug1: newkeys: mode 0
> debug1: SSH2_MSG_NEWKEYS received
> debug1: KEX done
> debug1: userauth-request for user cheekoon service ssh-connection method
> none
> debug1: attempt 0 failures 0
> debug1: Starting up PAM with username "cheekoon"
> debug1: PAM setting rhost to "localhost"
> Failed none for cheekoon from 127.0.0.1 port 32948 ssh2
> Failed none for cheekoon from 127.0.0.1 port 32948 ssh2
> debug1: userauth-request for user cheekoon service ssh-connection method
> keyboard-interactive
> debug1: attempt 1 failures 1
> debug1: keyboard-interactive devs
> debug1: auth2_challenge: user=cheekoon devs=
> debug1: kbdint_alloc: devices ''
> Failed keyboard-interactive for cheekoon from 127.0.0.1 port 32948 ssh2
> debug1: userauth-request for user cheekoon service ssh-connection method
> password
> debug1: attempt 2 failures 2
> debug1: PAM Password authentication accepted for user "cheekoon"
> PAM rejected by account configuration[7]: Permission denied
> Failed password for cheekoon from 127.0.0.1 port 32948 ssh2
> Accepted password for cheekoon from 127.0.0.1 port 32948 ssh2
> monitor_read: unsupported request: 24
> debug1: Calling cleanup 0x2f7e8(0x0)
> debug1: Calling cleanup 0x4b560(0x0)
>
More information about the openssh-unix-dev
mailing list