Subject: Re: running a second sshd
To: Steven M. Bellovin <email@example.com>
From: segv <firstname.lastname@example.org>
Date: 08/17/2005 17:20:25
On Wed, 17 Aug 2005 10:33:59 -0400
"Steven M. Bellovin" <email@example.com> wrote:
> Given the rc.d structure, what is the cleanest way to run a second copy
> of sshd with a different configuration file? The machine in question
> is running 2.0.2, if that matters.
> --Steven M. Bellovin, http://www.cs.columbia.edu/~smb
cp sshd sshd2
Then edit sshd2 and rename some 'sshd' to 'sshd2' and possibly other things,
like default config file, crypto keys, etc.
Then put 'sshd2=yes' is /etc/rc.conf
Second version of sshd would need to run on a different port, obviously