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.
Over to rc.d maintainers
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