server sent disconnect message type 2 (protocol error): "fork failed: Resource temporarily unavaible"
"Numer0 bis" <[email protected]> Thu, 22 May 2008 01:40:21 +0200
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_7804_3079605.1211413221961 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello everybody I've got a problem with my ssh server. I've installed the ssh server and setup the passwd and group files. But as soon as I type in my login passwod and hit enter a pop-up message from putty apperas with the following: "server sent disconnect message type 2 (protocol error): "fork failed: Resource temporarily unavaible" Then I tried to run the sshd daemon in the highest debu mode under windows xp: ..\usr\sbin\ssh -d -d -d and with the sshd daemon in debug mode putty connected without any error. Does anyone maybe have a clue, what the problem could be? I checked the event viewer on windows xp but couldn't find any error message or warnings from sshd daemon. Here the output of the sshd daemon in debug mode: C:\Program Files\OpenSSH\bin>..\usr\sbin\sshd -d -d -d debug2: read_server_config: filename /etc/sshd_config debug1: sshd version OpenSSH_3.8.1p1 debug3: Not a RSA1 key file /etc/ssh_host_rsa_key. debug1: read PEM private key done: type RSA debug1: private host key: #0 type 1 RSA debug3: Not a RSA1 key file /etc/ssh_host_dsa_key. debug1: read PEM private key done: type DSA debug1: private host key: #1 type 2 DSA debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. debug1: Server will not fork when running in debugging mode. Connection from 192.168.1.244 port 4116 debug1: Client protocol version 2.0; client software version PuTTY_Release_0.60 debug1: no match: PuTTY_Release_0.60 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 debug1: list_hostkey_types: ssh-rsa,ssh-dss debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-gro up1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour, aes192-cbc,aes256-cbc,[email protected] ,aes128-ctr,aes192-ctr,aes256-c tr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour, aes192-cbc,aes256-cbc,[email protected] ,aes128-ctr,aes192-ctr,aes256-c tr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open ssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open ssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-g roup-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes256-ctr,aes256-cbc,[email protected] ,aes 192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,blowfish-ctr,blowfish-cbc,3des-ctr,3des -cbc,arcfour256,arcfour128 debug2: kex_parse_kexinit: aes256-ctr,aes256-cbc,[email protected] ,aes 192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,blowfish-ctr,blowfish-cbc,3des-ctr,3des -cbc,arcfour256,arcfour128 debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5 debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5 debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: none,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_init: found hmac-sha1 debug1: kex: client->server aes256-ctr hmac-sha1 none debug2: mac_init: found hmac-sha1 debug1: kex: server->client aes256-ctr hmac-sha1 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST_OLD received debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent debug2: dh_gen_key: priv key bits set: 265/512 debug2: bits set: 999/2048 debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT debug2: bits set: 1007/2048 debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug2: cipher_init: set keylen (16 -> 32) debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug2: cipher_init: set keylen (16 -> 32) debug1: SSH2_MSG_NEWKEYS received debug1: KEX done debug1: userauth-request for user chris service ssh-connection method none debug1: attempt 0 failures 0 debug2: input_userauth_request: setting up authctxt for chris debug2: input_userauth_request: try method none debug1: userauth_banner: sent Failed none for chris from 192.168.1.244 port 4116 ssh2 debug1: userauth-request for user chris service ssh-connection method keyboard-i nteractive debug1: attempt 1 failures 1 debug2: input_userauth_request: try method keyboard-interactive debug1: keyboard-interactive devs debug1: auth2_challenge: user=chris devs= debug1: kbdint_alloc: devices '' debug2: auth2_challenge_start: devices Failed keyboard-interactive for chris from 192.168.1.244 port 4116 ssh2 debug1: userauth-request for user chris service ssh-connection method password debug1: attempt 2 failures 2 debug2: input_userauth_request: try method password Accepted password for chris from 192.168.1.244 port 4116 ssh2 debug1: Entering interactive session for SSH2. debug2: fd 3 setting O_NONBLOCK debug2: fd 7 setting O_NONBLOCK debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 256 win 16384 max 16384 debug1: input_session_request debug1: channel 0: new [server-session] debug1: session_new: init debug1: session_new: session 0 debug1: session_open: channel 0 debug1: session_open: session 0: link with channel 0 debug1: server_input_channel_open: confirm session debug1: server_input_channel_req: channel 0 request pty-req reply 1 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req pty-req debug1: Allocating pty. debug1: session_pty_req: session 0 alloc /dev/tty1 debug3: tty_parse_modes: SSH2 n_bytes 16 debug3: tty_parse_modes: 3 127 debug3: tty_parse_modes: ispeed 38400 debug3: tty_parse_modes: ospeed 38400 debug1: server_input_channel_req: channel 0 request shell reply 1 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req shell debug2: fd 4 setting TCP_NODELAY debug2: channel 0: rfd 9 isatty debug2: fd 9 setting O_NONBLOCK debug2: fd 8 setting O_NONBLOCK Connection closed by 192.168.1.244 debug1: channel 0: free: server-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 server-session (t4 r256 i0/0 o0/0 fd 9/8) Kind Regards Chris Y. ------=_Part_7804_3079605.1211413221961 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello everybody<br><br>I've got a problem with my ssh server. I've installed the ssh server and setup the passwd and group files. But as soon as I type in my login passwod and hit enter a pop-up message from putty apperas with the following:<br> <br>"server sent disconnect message type 2 (protocol error): "fork failed: Resource temporarily unavaible"<br><br>Then I tried to run the sshd daemon in the highest debu mode under windows xp: ..\usr\sbin\ssh -d -d -d<br> <br>and with the sshd daemon in debug mode putty connected without any error.<br><br>Does anyone maybe have a clue, what the problem could be? I checked the event viewer on windows xp but couldn't find any error message or warnings from sshd daemon.<br> <br>Here the output of the sshd daemon in debug mode:<br><br>C:\Program Files\OpenSSH\bin>..\usr\sbin\sshd -d -d -d<br>debug2: read_server_config: filename /etc/sshd_config<br>debug1: sshd version OpenSSH_3.8.1p1<br>debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.<br> debug1: read PEM private key done: type RSA<br>debug1: private host key: #0 type 1 RSA<br>debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.<br>debug1: read PEM private key done: type DSA<br>debug1: private host key: #1 type 2 DSA<br> debug1: Bind to port 22 on <a href="http://0.0.0.0">0.0.0.0</a>.<br>Server listening on <a href="http://0.0.0.0">0.0.0.0</a> port 22.<br>debug1: Server will not fork when running in debugging mode.<br>Connection from <a href="http://192.168.1.244">192.168.1.244</a> port 4116<br> debug1: Client protocol version 2.0; client software version PuTTY_Release_0.60<br>debug1: no match: PuTTY_Release_0.60<br>debug1: Enabling compatibility mode for protocol 2.0<br>debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1<br> debug1: list_hostkey_types: ssh-rsa,ssh-dss<br>debug1: SSH2_MSG_KEXINIT sent<br>debug1: SSH2_MSG_KEXINIT received<br>debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-gro<br>up1-sha1<br>debug2: kex_parse_kexinit: ssh-rsa,ssh-dss<br> debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,<br>aes192-cbc,aes256-cbc,<a href="mailto:[email protected]">[email protected]</a>,aes128-ctr,aes192-ctr,aes256-c<br>tr<br> debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,<br>aes192-cbc,aes256-cbc,<a href="mailto:[email protected]">[email protected]</a>,aes128-ctr,aes192-ctr,aes256-c<br>tr<br> debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open<br><a href="http://ssh.com">ssh.com</a>,hmac-sha1-96,hmac-md5-96<br>debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@open<br> <a href="http://ssh.com">ssh.com</a>,hmac-sha1-96,hmac-md5-96<br>debug2: kex_parse_kexinit: none,zlib<br>debug2: kex_parse_kexinit: none,zlib<br>debug2: kex_parse_kexinit:<br>debug2: kex_parse_kexinit:<br>debug2: kex_parse_kexinit: first_kex_follows 0<br> debug2: kex_parse_kexinit: reserved 0<br>debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-g<br>roup-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1<br>debug2: kex_parse_kexinit: ssh-rsa,ssh-dss<br> debug2: kex_parse_kexinit: aes256-ctr,aes256-cbc,<a href="mailto:[email protected]">[email protected]</a>,aes<br>192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,blowfish-ctr,blowfish-cbc,3des-ctr,3des<br>-cbc,arcfour256,arcfour128<br> debug2: kex_parse_kexinit: aes256-ctr,aes256-cbc,<a href="mailto:[email protected]">[email protected]</a>,aes<br>192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,blowfish-ctr,blowfish-cbc,3des-ctr,3des<br>-cbc,arcfour256,arcfour128<br> debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5<br>debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5<br>debug2: kex_parse_kexinit: none,zlib<br>debug2: kex_parse_kexinit: none,zlib<br>debug2: kex_parse_kexinit:<br> debug2: kex_parse_kexinit:<br>debug2: kex_parse_kexinit: first_kex_follows 0<br>debug2: kex_parse_kexinit: reserved 0<br>debug2: mac_init: found hmac-sha1<br>debug1: kex: client->server aes256-ctr hmac-sha1 none<br>debug2: mac_init: found hmac-sha1<br> debug1: kex: server->client aes256-ctr hmac-sha1 none<br>debug1: SSH2_MSG_KEX_DH_GEX_REQUEST_OLD received<br>debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent<br>debug2: dh_gen_key: priv key bits set: 265/512<br>debug2: bits set: 999/2048<br> debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT<br>debug2: bits set: 1007/2048<br>debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent<br>debug2: kex_derive_keys<br>debug2: set_newkeys: mode 1<br>debug2: cipher_init: set keylen (16 -> 32)<br> debug1: SSH2_MSG_NEWKEYS sent<br>debug1: expecting SSH2_MSG_NEWKEYS<br>debug2: set_newkeys: mode 0<br>debug2: cipher_init: set keylen (16 -> 32)<br>debug1: SSH2_MSG_NEWKEYS received<br>debug1: KEX done<br>debug1: userauth-request for user chris service ssh-connection method none<br> debug1: attempt 0 failures 0<br>debug2: input_userauth_request: setting up authctxt for chris<br>debug2: input_userauth_request: try method none<br>debug1: userauth_banner: sent<br>Failed none for chris from <a href="http://192.168.1.244">192.168.1.244</a> port 4116 ssh2<br> debug1: userauth-request for user chris service ssh-connection method keyboard-i<br>nteractive<br>debug1: attempt 1 failures 1<br>debug2: input_userauth_request: try method keyboard-interactive<br>debug1: keyboard-interactive devs<br> debug1: auth2_challenge: user=chris devs=<br>debug1: kbdint_alloc: devices ''<br>debug2: auth2_challenge_start: devices<br>Failed keyboard-interactive for chris from <a href="http://192.168.1.244">192.168.1.244</a> port 4116 ssh2<br> debug1: userauth-request for user chris service ssh-connection method password<br>debug1: attempt 2 failures 2<br>debug2: input_userauth_request: try method password<br>Accepted password for chris from <a href="http://192.168.1.244">192.168.1.244</a> port 4116 ssh2<br> debug1: Entering interactive session for SSH2.<br>debug2: fd 3 setting O_NONBLOCK<br>debug2: fd 7 setting O_NONBLOCK<br>debug1: server_init_dispatch_20<br>debug1: server_input_channel_open: ctype session rchan 256 win 16384 max 16384<br> debug1: input_session_request<br>debug1: channel 0: new [server-session]<br>debug1: session_new: init<br>debug1: session_new: session 0<br>debug1: session_open: channel 0<br>debug1: session_open: session 0: link with channel 0<br> debug1: server_input_channel_open: confirm session<br>debug1: server_input_channel_req: channel 0 request pty-req reply 1<br>debug1: session_by_channel: session 0 channel 0<br>debug1: session_input_channel_req: session 0 req pty-req<br> debug1: Allocating pty.<br>debug1: session_pty_req: session 0 alloc /dev/tty1<br>debug3: tty_parse_modes: SSH2 n_bytes 16<br>debug3: tty_parse_modes: 3 127<br>debug3: tty_parse_modes: ispeed 38400<br>debug3: tty_parse_modes: ospeed 38400<br> debug1: server_input_channel_req: channel 0 request shell reply 1<br>debug1: session_by_channel: session 0 channel 0<br>debug1: session_input_channel_req: session 0 req shell<br>debug2: fd 4 setting TCP_NODELAY<br>debug2: channel 0: rfd 9 isatty<br> debug2: fd 9 setting O_NONBLOCK<br>debug2: fd 8 setting O_NONBLOCK<br>Connection closed by <a href="http://192.168.1.244">192.168.1.244</a><br>debug1: channel 0: free: server-session, nchannels 1<br>debug3: channel 0: status: The following connections are open:<br> #0 server-session (t4 r256 i0/0 o0/0 fd 9/8)<br><br>Kind Regards<br><br>Chris Y.<br><br> ------=_Part_7804_3079605.1211413221961-- -- List Info: http://erdelynet.com/ssh-l/ List Archives: http://erdelynet.com/archive/ssh-l/ To Unsubscribe: Mail mailto:[email protected] If you are having trouble unsubscribing, visit the List Info page for help.