Re: two sshd daemons and pids
On Fri, Jun 20, 2003 at 11:47:11AM +0200, CAMTP guest wrote:
> I'm trying to setup a second sshd daemon (with different configuration
> and port listening), but have a problem with the PID file. Apparently
> the start-stop-daemon ignores the --pidfile $PID directive.
I don't think that's it. The problem is more likely to be that sshd
writes /var/run/sshd.pid itself (so I'm not sure why it's in the init
script as well ... hmm). Try setting 'PidFile /var/run/sshd-1.pid' in
/etc/ssh/sshd_config-1.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: