Re: two sshd daemons and pids

2003-06-20 Thread CAMTP guest
Colin: > 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. Correct - your suggestion helped. Thanks, -I

Re: two sshd daemons and pids

2003-06-20 Thread Colin Watson
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 p

two sshd daemons and pids

2003-06-20 Thread CAMTP guest
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. When I start the second sshd daemon (the /etc/init.d script attached), the original /var/run/sshd.