View Single Post
  #4  
Old 03-20-2008, 03:05 PM
unix unix is offline
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Running multiple sshd instances on one server

On Thu, 20 Mar 2008 07:49:53 -0700 (PDT), ss11223 wrote:
> >
> > I've run two separate sshd daemons. The instructions below,
> > which I've posted a few times before, pertain to RedHat-style
> > systems (RHEL, Fedora, CentOS, and so on). You'll have to
> > translate them for your debian system.
> >...[snipped]...


> Thanks. The procedure you gave is about what I thought to do except
> I didn't think that is was necessary to copy the executable to another
> name first.


First, some of the subroutines in the startup script depend on the
executable name being the same as the service name. Second, if you
do a "ps" or something else that shows statistics by process, it will
be possible to know which ssh daemon is which. Third, having a new
name gives a consistent naming scheme to all components of the new
(RedHat-style) service.

Of course, Debian may have different requirements.

--
Dale Dellutri (lose the Q's)
Reply With Quote