Bug 133890

Summary: [patch] sshd(8): add multiple profiles to the rc.d script
Product: Base System Reporter: Eygene Ryabinkin <rea-fbsd>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.2-PRERELEASE   
Hardware: Any   
OS: Any   
Description Flags
sshd-add-multiprofile-rc.d-extensions.diff none

Description Eygene Ryabinkin 2009-04-21 12:00:06 UTC
Sometimes one wants to spawn multiple SSH daemons on one machine and
specify very different configuration files and/or keys for them.  This
isn't doable with the current rc.d script and sshd_config, so I had
extended /etc/rc.d/sshd to handle multiple profiles.

My own case was to get the second, world-accessible, SSH instance
listening to the second interface; it allows a very different set
of users (in respect to the system's SSH) to log in.

Fix: The following patch adds multiprofile extensions and documentation for
them.  I don't like to modify sshd(8) page, but I just couldn't think of
another place to add the information -- rc.conf(5) shouldn't be polluted
with SSH-specific stuff.

The patch was tested on my server and everything goes more-or-less
smoothly already for week.
Try to get running two SSH instances with /etc/rc.d/sshd.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2009-04-21 12:20:26 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

Over to rc.d maintainers
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:11 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped