From owner-freebsd-bugs Wed Dec 19 13:40:12 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8863B37B41B for ; Wed, 19 Dec 2001 13:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBJLe1384644; Wed, 19 Dec 2001 13:40:01 -0800 (PST) (envelope-from gnats) Received: from gateway.soffen.com (gateway.soffen.com [64.65.195.194]) by hub.freebsd.org (Postfix) with SMTP id 8506637B417 for ; Wed, 19 Dec 2001 13:34:27 -0800 (PST) Received: (qmail 45077 invoked from network); 19 Dec 2001 21:34:26 -0000 Received: from truffle0.soffen.com (64.65.195.196) by gateway.soffen.com with SMTP; 19 Dec 2001 21:34:26 -0000 Received: (qmail 7763 invoked by uid 0); 19 Dec 2001 21:34:24 -0000 Message-Id: <20011219213424.7762.qmail@truffle0.soffen.com> Date: 19 Dec 2001 21:34:24 -0000 From: matt@soffen.com Reply-To: matt@soffen.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/33018: Patch for RC (add multiple SSHD configurations) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33018 >Category: conf >Synopsis: Patch for RC (add multiple SSHD configurations) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 19 13:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Matthew Sofen & >Release: FreeBSD 4.2-RELEASE i386 >Organization: none >Environment: N/A >Description: This patch was written to allow a site to have multiple SSH Daemons on different ports with different config files. This patch includes modification to the /etc/defaults/rc.conf and /etc/rc to handle reading in multiple sshd configs. >How-To-Repeat: Attempt to run multiple ssh daemons on restarts >Fix: This patch will allow a user to create N different instances of SSHD. On startup RC will cycle through all the variables in the rc.conf file and run the daemons. To work around the problem explicitly call something like /usr/sbin/sshd -f /etc/ssh/sshd_config_2.conf >Release-Note: >Audit-Trail: >Unformatted: Matthew Soffen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message