Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2005 08:27:59 GMT
From:      eric pretorious <eric@pretorious.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/81752: sshd_flags='-d' causes errors
Message-ID:  <200506010827.j518RxpB046886@www.freebsd.org>
Resent-Message-ID: <200506010830.j518U2Yl027519@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         81752
>Category:       misc
>Synopsis:       sshd_flags='-d' causes errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 01 08:30:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     eric pretorious
>Release:        RELENG_4_11_0_RELEASE
>Organization:
>Environment:
FreeBSD truckee.leaguehost.net 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005      
>Description:
Enabling debugging via sshd_flags (/etc/rc.conf) causes system start-up to pause (i.e., hang) until I log-in via SSH.

Once I log-out, start-up continues *but* SSH is unavailable.
>How-To-Repeat:
1. Install FreeBSD 4.11.
2. Configure SSHD to run at start-up (sshd_enable="YES").
3. Configure SSHD to log verbosely (sshd_enable="-d").
4. Complete the installation (i.e., shutdown and restart).
5. During start-up, system hangs:
  Starting standard daemons: cron sshddebug2: sshd version OpenSSH_3.5P1 FreeBSD-20030924
  debug1: private host key: #0 type 0 RSA1
  debug1: read PEM private key done: type DSA
  debug1: private host key: #1 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.
  <<<HANG>>>
5. Log-in to the machine remotely via SSH (i.e., from a client on the LAN). e.g., `ssh me@172.16.0.2`
6. Log-out via SSH.
7. Start-up resumes.
8. Attempt to log-in to the machine remotely via SSH again:
  $ ssh 172.16.0.102
  ssh: connect to host 172.16.0.102 port 22: Connection refused

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506010827.j518RxpB046886>