Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Re: [SLE] SSH server login delayed
  • From: Benjamin Hornberger <bho@xxxxxxx>
  • Date: Tue, 22 Feb 2005 20:50:15 -0500
  • Message-id: <>
At 05:35 PM 2/22/2005 -0800, Michael Siefritz wrote:

Could you stop the regular sshd daemon and start it in debug mode (sshd -ddd)?
Then connect and check at what step in the process the delay occurs.

host:~ # /usr/sbin/sshd -ddd
debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 214
debug2: parse_server_config: config /etc/ssh/sshd_config len 214
debug1: sshd version OpenSSH_3.9p1
debug3: Not a RSA1 key file /etc/ssh/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/ssh_host_dsa_key.
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]='-ddd'
debug2: fd 3 setting O_NONBLOCK
debug1: Bind to port 22 on ::.
Server listening on :: port 22.
>>> here trying to connect
debug3: fd 4 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 7 config len 214
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
>>> here waiting 30 sec, then typing password and being logged in. After logging out, the sshd quits.
host:~ #

Thanks for your efforts,

< Previous Next >
Follow Ups