|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
My sshd daemon is crashing on a Solaris 9 SUN box.
/usr/local/bin/ssh -Version shows OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005 The output of sshd -d from startup to crash is enclosed below. Please advise if you have seen this. We have hundreds of other systems and don't have this issue on any of them. Thanks ahead, Stuart Oct 10 10:30:19 (cairvndcw:/var/tmp)# q /usr/local/sbin/sshd -d Oct 10 10:30:19 debug1: sshd version OpenSSH_4.2p1 Oct 10 10:30:19 Oct 10 10:30:19 debug1: private host key: #0 type 0 RSA1 Oct 10 10:30:19 Oct 10 10:30:19 debug1: read PEM private key done: type RSA Oct 10 10:30:19 Oct 10 10:30:19 debug1: private host key: #1 type 1 RSA Oct 10 10:30:19 Oct 10 10:30:19 debug1: read PEM private key done: type DSA Oct 10 10:30:19 Oct 10 10:30:19 debug1: private host key: #2 type 2 DSA Oct 10 10:30:19 Oct 10 10:30:19 debug1: rexec_argv[0]='/usr/local/sbin/sshd' Oct 10 10:30:19 Oct 10 10:30:19 debug1: rexec_argv[1]='-d' Oct 10 10:30:19 Oct 10 10:30:19 debug1: Bind to port 22 on ::. Oct 10 10:30:19 Oct 10 10:30:19 Server listening on :: port 22. Oct 10 10:30:19 Oct 10 10:30:19 debug1: Bind to port 22 on 0.0.0.0. Oct 10 10:30:19 Oct 10 10:30:19 Server listening on 0.0.0.0 port 22. Oct 10 10:30:19 Oct 10 10:30:20 Generating 768 bit RSA key. Oct 10 10:30:20 Oct 10 10:30:20 RSA key generation complete. Oct 10 10:30:20 Oct 10 10:30:23 debug1: fd 5 clearing O_NONBLOCK Oct 10 10:30:23 Oct 10 10:30:23 debug1: Server will not fork when running in debugging mode. Oct 10 10:30:23 Oct 10 10:30:23 debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 10 Oct 10 10:30:23 Oct 10 10:30:23 debug1: inetd sockets after dupping: 3, 3 Oct 10 10:30:23 Oct 10 10:30:23 Connection from 10.10.143.218 port 41736 Oct 10 10:30:23 Oct 10 10:30:23 debug1: Client protocol version 2.0; client software version OpenSSH_4.1 Oct 10 10:30:23 Oct 10 10:30:23 debug1: match: OpenSSH_4.1 pat OpenSSH* Oct 10 10:30:23 Oct 10 10:30:23 debug1: Enabling compatibility mode for protocol 2.0 Oct 10 10:30:23 Oct 10 10:30:23 debug1: Local version string SSH-1.99-OpenSSH_4.2 Oct 10 10:30:23 Oct 10 10:30:23 debug1: permanently_set_uid: 10004/100 Oct 10 10:30:23 Oct 10 10:30:24 debug1: list_hostkey_types: ssh-rsa,ssh-dss Oct 10 10:30:24 Oct 10 10:30:24 debug1: SSH2_MSG_KEXINIT sent Oct 10 10:30:24 Oct 10 10:30:24 debug1: SSH2_MSG_KEXINIT received Oct 10 10:30:24 Oct 10 10:30:24 debug1: kex: client->server aes128-cbc hmac-md5 none Oct 10 10:30:24 Oct 10 10:30:24 debug1: kex: server->client aes128-cbc hmac-md5 none Oct 10 10:30:24 Oct 10 10:30:24 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received Oct 10 10:30:24 Oct 10 10:30:24 debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent Oct 10 10:30:24 Oct 10 10:30:24 debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT Oct 10 10:30:24 Oct 10 10:30:24 debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent Oct 10 10:30:24 Oct 10 10:30:24 debug1: SSH2_MSG_NEWKEYS sent Oct 10 10:30:24 Oct 10 10:30:24 debug1: expecting SSH2_MSG_NEWKEYS Oct 10 10:30:24 Oct 10 10:30:24 debug1: SSH2_MSG_NEWKEYS received Oct 10 10:30:24 Oct 10 10:30:24 debug1: KEX done Oct 10 10:30:24 Oct 10 10:30:24 debug1: userauth-request for user root service ssh-connection method none Oct 10 10:30:24 Oct 10 10:30:24 debug1: attempt 0 failures 0 Oct 10 10:30:24 Oct 10 10:30:24 Failed none for root from 10.10.143.218 port 41736 ssh2 Oct 10 10:30:24 Oct 10 10:30:24 Failed none for root from 10.10.143.218 port 41736 ssh2 Oct 10 10:30:24 Oct 10 10:30:24 debug1: userauth-request for user root service ssh-connection method keyboard-in Oct 10 10:30:24 teractive Oct 10 10:30:24 Oct 10 10:30:24 debug1: attempt 1 failures 1 Oct 10 10:30:24 Oct 10 10:30:24 debug1: keyboard-interactive devs Oct 10 10:30:24 Oct 10 10:30:24 debug1: auth2_challenge: user=root devs= Oct 10 10:30:24 Oct 10 10:30:24 debug1: kbdint_alloc: devices '' Oct 10 10:30:24 Oct 10 10:30:25 Failed keyboard-interactive for root from 10.10.143.218 port 41736 ssh2 Oct 10 10:30:25 Oct 10 10:30:26 debug1: userauth-request for user root service ssh-connection method password Oct 10 10:30:26 Oct 10 10:30:26 debug1: attempt 2 failures 2 Oct 10 10:30:26 Oct 10 10:30:26 Accepted password for root from 10.10.143.218 port 41736 ssh2 Oct 10 10:30:26 Oct 10 10:30:26 Accepted password for root from 10.10.143.218 port 41736 ssh2 Oct 10 10:30:26 Oct 10 10:30:26 debug1: monitor_child_preauth: root has been authenticated by privileged process Oct 10 10:30:26 Oct 10 10:30:26 Oct 10 10:30:26 debug1: Entering interactive session for SSH2. Oct 10 10:30:26 Oct 10 10:30:26 debug1: server_init_dispatch_20 Oct 10 10:30:26 Oct 10 10:30:26 debug1: server_input_channel_open: ctype session rchan 0 win 65536 max 16384 Oct 10 10:30:26 Oct 10 10:30:26 debug1: input_session_request Oct 10 10:30:26 Oct 10 10:30:26 debug1: channel 0: new [server-session] Oct 10 10:30:26 Oct 10 10:30:26 debug1: session_new: init Oct 10 10:30:26 Oct 10 10:30:26 debug1: session_new: session 0 Oct 10 10:30:26 Oct 10 10:30:26 debug1: session_open: channel 0 Oct 10 10:30:26 Oct 10 10:30:26 debug1: session_open: session 0: link with channel 0 Oct 10 10:30:26 Oct 10 10:30:27 debug1: server_input_channel_open: confirm session Oct 10 10:30:27 Oct 10 10:30:27 debug1: server_input_channel_req: channel 0 request pty-req reply 0 Oct 10 10:30:27 Oct 10 10:30:27 debug1: session_by_channel: session 0 channel 0 Oct 10 10:30:27 Oct 10 10:30:27 debug1: session_input_channel_req: session 0 req pty-req Oct 10 10:30:27 Oct 10 10:30:27 debug1: Allocating pty. Oct 10 10:30:27 Oct 10 10:30:27 debug1: session_pty_req: session 0 alloc /dev/pts/2 Oct 10 10:30:27 Oct 10 10:30:27 debug1: server_input_channel_req: channel 0 request shell reply 0 Oct 10 10:30:27 Oct 10 10:30:27 debug1: session_by_channel: session 0 channel 0 Oct 10 10:30:27 Oct 10 10:30:27 debug1: session_input_channel_req: session 0 req shell Oct 10 10:30:27 Oct 10 10:32:09 debug1: Received SIGCHLD. Oct 10 10:32:09 Oct 10 10:32:09 debug1: session_by_pid: pid 8953 Oct 10 10:32:09 Oct 10 10:32:10 debug1: session_exit_message: session 0 channel 0 pid 8953 Oct 10 10:32:10 Oct 10 10:32:10 debug1: session_exit_message: release channel 0 Oct 10 10:32:10 Oct 10 10:32:10 debug1: session_close: session 0 pid 8953 Oct 10 10:32:10 Oct 10 10:32:10 debug1: session_pty_cleanup: session 0 release /dev/pts/2 Oct 10 10:32:10 Oct 10 10:32:10 debug1: channel 0: free: server-session, nchannels 1 Oct 10 10:32:10 Oct 10 10:32:10 Connection closed by 10.10.143.218 Oct 10 10:32:10 Oct 10 10:32:10 debug1: do_cleanup Oct 10 10:32:10 Oct 10 10:32:10 Closing connection to 10.10.143.218 Oct 10 10:32:10 Oct 10 14:10:24 (cairvndcw:/var/tmp)# exit Oct 10 14:10:24 Script done, file is typescript Oct 10 14:10:27 (cairvndcw:/var/tmp)# exit |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
smcracraft@gmail.com writes:
>My sshd daemon is crashing on a Solaris 9 SUN box. What crash? There is no crash. It says that you closed it down. Remember that ssh -d only runs ONCE. It exits when that one first session exits. >/usr/local/bin/ssh -Version shows >OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005 >The output of sshd -d from startup to crash is enclosed below. What crash? You will need to give us what you feel is evidence that sshd crashed. >Please advise if you have seen this. We have hundreds of other >systems and don't have this issue on any of them. >Thanks ahead, >Stuart >Oct 10 10:30:19 (cairvndcw:/var/tmp)# q /usr/local/sbin/sshd -d >Oct 10 10:30:19 debug1: sshd version OpenSSH_4.2p1 >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: private host key: #0 type 0 RSA1 >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: read PEM private key done: type RSA >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: private host key: #1 type 1 RSA >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: read PEM private key done: type DSA >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: private host key: #2 type 2 DSA >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: rexec_argv[0]=3D'/usr/local/sbin/sshd' >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: rexec_argv[1]=3D'-d' >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: Bind to port 22 on ::. >Oct 10 10:30:19 >Oct 10 10:30:19 Server listening on :: port 22. >Oct 10 10:30:19 >Oct 10 10:30:19 debug1: Bind to port 22 on 0.0.0.0. >Oct 10 10:30:19 >Oct 10 10:30:19 Server listening on 0.0.0.0 port 22. >Oct 10 10:30:19 >Oct 10 10:30:20 Generating 768 bit RSA key. >Oct 10 10:30:20 >Oct 10 10:30:20 RSA key generation complete. >Oct 10 10:30:20 >Oct 10 10:30:23 debug1: fd 5 clearing O_NONBLOCK >Oct 10 10:30:23 >Oct 10 10:30:23 debug1: Server will not fork when running in debugging >mode. >Oct 10 10:30:23 >Oct 10 10:30:23 debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock >10 >Oct 10 10:30:23 >Oct 10 10:30:23 debug1: inetd sockets after dupping: 3, 3 >Oct 10 10:30:23 >Oct 10 10:30:23 Connection from 10.10.143.218 port 41736 >Oct 10 10:30:23 >Oct 10 10:30:23 debug1: Client protocol version 2.0; client software >version OpenSSH_4.1 >Oct 10 10:30:23 >Oct 10 10:30:23 debug1: match: OpenSSH_4.1 pat OpenSSH* >Oct 10 10:30:23 >Oct 10 10:30:23 debug1: Enabling compatibility mode for protocol 2.0 >Oct 10 10:30:23 >Oct 10 10:30:23 debug1: Local version string SSH-1.99-OpenSSH_4.2 >Oct 10 10:30:23 >Oct 10 10:30:23 debug1: permanently_set_uid: 10004/100 >Oct 10 10:30:23 >Oct 10 10:30:24 debug1: list_hostkey_types: ssh-rsa,ssh-dss >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: SSH2_MSG_KEXINIT sent >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: SSH2_MSG_KEXINIT received >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: kex: client->server aes128-cbc hmac-md5 none >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: kex: server->client aes128-cbc hmac-md5 none >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: SSH2_MSG_NEWKEYS sent >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: expecting SSH2_MSG_NEWKEYS >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: SSH2_MSG_NEWKEYS received >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: KEX done >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: userauth-request for user root service >ssh-connection method none >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: attempt 0 failures 0 >Oct 10 10:30:24 >Oct 10 10:30:24 Failed none for root from 10.10.143.218 port 41736 ssh2 >Oct 10 10:30:24 >Oct 10 10:30:24 Failed none for root from 10.10.143.218 port 41736 ssh2 >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: userauth-request for user root service >ssh-connection method keyboard-in >Oct 10 10:30:24 teractive >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: attempt 1 failures 1 >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: keyboard-interactive devs >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: auth2_challenge: user=3Droot devs=3D >Oct 10 10:30:24 >Oct 10 10:30:24 debug1: kbdint_alloc: devices '' >Oct 10 10:30:24 >Oct 10 10:30:25 Failed keyboard-interactive for root from 10.10.143.218 >port 41736 ssh2 >Oct 10 10:30:25 >Oct 10 10:30:26 debug1: userauth-request for user root service >ssh-connection method password >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: attempt 2 failures 2 >Oct 10 10:30:26 >Oct 10 10:30:26 Accepted password for root from 10.10.143.218 port >41736 ssh2 >Oct 10 10:30:26 >Oct 10 10:30:26 Accepted password for root from 10.10.143.218 port >41736 ssh2 >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: monitor_child_preauth: root has been >authenticated by privileged process >Oct 10 10:30:26 >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: Entering interactive session for SSH2. >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: server_init_dispatch_20 >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: server_input_channel_open: ctype session rchan >0 win 65536 max 16384 >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: input_session_request >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: channel 0: new [server-session] >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: session_new: init >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: session_new: session 0 >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: session_open: channel 0 >Oct 10 10:30:26 >Oct 10 10:30:26 debug1: session_open: session 0: link with channel 0 >Oct 10 10:30:26 >Oct 10 10:30:27 debug1: server_input_channel_open: confirm session >Oct 10 10:30:27 >Oct 10 10:30:27 debug1: server_input_channel_req: channel 0 request >pty-req reply 0 >Oct 10 10:30:27 >Oct 10 10:30:27 debug1: session_by_channel: session 0 channel 0 >Oct 10 10:30:27 >Oct 10 10:30:27 debug1: session_input_channel_req: session 0 req >pty-req >Oct 10 10:30:27 >Oct 10 10:30:27 debug1: Allocating pty. >Oct 10 10:30:27 >Oct 10 10:30:27 debug1: session_pty_req: session 0 alloc /dev/pts/2 >Oct 10 10:30:27 >Oct 10 10:30:27 debug1: server_input_channel_req: channel 0 request >shell reply 0 >Oct 10 10:30:27 >Oct 10 10:30:27 debug1: session_by_channel: session 0 channel 0 >Oct 10 10:30:27 >Oct 10 10:30:27 debug1: session_input_channel_req: session 0 req shell >Oct 10 10:30:27 >Oct 10 10:32:09 debug1: Received SIGCHLD. >Oct 10 10:32:09 >Oct 10 10:32:09 debug1: session_by_pid: pid 8953 >Oct 10 10:32:09 >Oct 10 10:32:10 debug1: session_exit_message: session 0 channel 0 pid >8953 >Oct 10 10:32:10 >Oct 10 10:32:10 debug1: session_exit_message: release channel 0 >Oct 10 10:32:10 >Oct 10 10:32:10 debug1: session_close: session 0 pid 8953 >Oct 10 10:32:10 >Oct 10 10:32:10 debug1: session_pty_cleanup: session 0 release >/dev/pts/2 >Oct 10 10:32:10 >Oct 10 10:32:10 debug1: channel 0: free: server-session, nchannels 1 >Oct 10 10:32:10 >Oct 10 10:32:10 Connection closed by 10.10.143.218 >Oct 10 10:32:10 See the remote system closed the connection. >Oct 10 10:32:10 debug1: do_cleanup >Oct 10 10:32:10 >Oct 10 10:32:10 Closing connection to 10.10.143.218 >Oct 10 10:32:10 >Oct 10 14:10:24 (cairvndcw:/var/tmp)# exit >Oct 10 14:10:24 Script done, file is typescript >Oct 10 14:10:27 (cairvndcw:/var/tmp)# exit |
|
![]() |
| Outils de la discussion | |
|
|