Two independent SSHD processes?
Ed Greshko
ed.greshko at greshko.com
Wed Jan 21 01:51:21 UTC 2015
On 01/21/15 09:06, CLOSE Dave wrote:
> Ian Pilcher and others wrote:
>
>> There is a "PidFile" option in the config file that can be used to
>> control this.
> But if you read the SSHD man page and the /etc/rc.d/init.d/sshd script,
> you'll find that the PID is always recorded at /var/run/sshd.pid and the
> PidFile variable is only used for reporting status.
And if you tried it?
[root at meimei run]# grep pid /etc/ssh/sshd_config
PidFile /var/run/sshd-meimei.pid
[root at meimei run]# ls /var/run | grep sshd
sshd-meimei.pid
[root at meimei run]# cat /var/run/sshd-meimei.pid
16561
[root at meimei run]# ps -eaf | grep 16561
root 16561 1 0 09:48 ? 00:00:00 /usr/sbin/sshd -D
So...... Follow Rick's recommendation....
--
If you can't laugh at yourself, others will gladly oblige.
More information about the users
mailing list