[CentOS] Running two sshd's

Tue Oct 31 20:24:15 UTC 2006
BrianSr <wubba at Vipershells.com>

>
>> Gilles CHAUVIN wrote:
>>     
>>> Hi all,
>>>
>>> I'm wondering whether it is feasible or not to run two distinct
>>>       
>> sshd
>>     

You could also run it via xinetd

and in each xinedt "sshd-1 sshd-2" specify the config files to use with 
the -f option

for instance

service ssh
{
        log_on_failure = ATTEMPT HOST
        listen = 0.0.0.0
        port = 22
        socket_type = stream
        user = root
        server = /usr/sbin/sshd -f <configfile>
        server_args = -i
        wait = no
        instances = 5
        cps = 2 30
}

hth