PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > sshd daemon crashing
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

sshd daemon crashing

Réponse
 
LinkBack Outils de la discussion
Vieux 10/10/2006, 21h23   #1
smcracraft@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut sshd daemon crashing

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

  Réponse avec citation
Vieux 11/10/2006, 01h14   #2
Unruh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sshd daemon crashing

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


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h37.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17879 seconds with 10 queries