From owner-freebsd-questions Mon Jun 12 7:52: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dazed.slacker.com (dazed.slacker.com [208.15.208.76]) by hub.freebsd.org (Postfix) with SMTP id 1602937B57B for ; Mon, 12 Jun 2000 07:51:59 -0700 (PDT) (envelope-from nugget@dazed.slacker.com) Received: (qmail 32043 invoked by uid 1000); 12 Jun 2000 14:51:55 -0000 Date: Mon, 12 Jun 2000 09:51:55 -0500 From: David McNett To: David Daugherty Cc: cjclark@alum.mit.edu, questions@FreeBSD.ORG Subject: Re: sshd not letting me in from dhcp Message-ID: <20000612095155.A32025@dazed.slacker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Operating-System: FreeBSD 4.0-STABLE i386 X-Distributed: Join the Effort! http://www.distributed.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 11-Jun-2000, David Daugherty wrote: > Ok, the ssh daemon isn't being started in rc.local or inetd.conf. Where > can I add this flag. I'm not sure where ssh starts from. If you installed sshd from ports on a 2.x or 3.x box, look for its startup file in /usr/local/etc/rc.d/. If you're working on a 4.0 box, sshd is launched based on parameters you place in /etc/rc.conf (use the examples found in /etc/defaults/rc.conf to assist you in proper syntax). You do not, however, want to launch sshd with the -d parameter in your startup scripts. From the manpage: -d Debug mode. The server sends verbose debug output to the system log, and does not put itself in the background. The server also will not fork and will only process one connection. This option is only intended for debugging for the server. sshd -d is only intended for use when you're actively monitoring the daemon in an interactive manner. If running a client with "ssh -v" is not an option, perhaps you'll have some luck tweaking the syslogging parameters on sshd in an attempt to extract more detailed information out of the daemon. Try adjusting the LogLevel value in your sshd_config file as per the manpage: LogLevel Gives the verbosity level that is used when logging messages from sshd. The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE and DEBUG. The default is INFO. Logging with level DEBUG vio- lates the privacy of users and is not recommended. On a 4.0 box, this file will be in /etc/ssh/ -- ________________________________________________________________________ |David McNett |To ensure privacy and data integrity this message has| |nugget@slacker.com|been encrypted using dual rounds of ROT-13 encryption| |Birmingham, AL USA|Please encrypt all important correspondence with PGP!| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message