Bug 33018

Summary: Patch for RC (add multiple SSHD configurations)
Product: Base System Reporter: matt <matt>
Component: confAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.dat none

Description matt 2001-12-19 21:40:01 UTC
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.

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
How-To-Repeat: 
	Attempt to run multiple ssh daemons on restarts
Comment 1 setantae 2001-12-19 22:08:50 UTC
Matthew, I think you forgot to attach the patch ;)

Ceri
Comment 2 setantae 2001-12-20 00:35:54 UTC
Adding to audit trail.

Ceri
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2003-07-13 01:56:51 UTC
Responsible Changed
From-To: freebsd-bugs->des

Assign to SSH maintainer
Comment 4 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2003-07-14 11:42:59 UTC
State Changed
From-To: open->closed

Should be reformulated as a general rcNG issue.