Preventing CSF from killing a certain process
Posted: 31 Dec 2014, 02:32
Hi there,
We are trying to SCP a large file from one of our servers, however CSF appears to be killing the SCP process after around 55 minutes.
In /var/log/lfd.log we see the following messages:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------
In /etc/csf/csf.pignore we already have all SSH binaries listed:
exe:/usr/sbin/sshd
exe:/usr/sbin/ssh
exe:/usr/bin/ssh
And we have restarted CSF, but the process is still killed after the same amount of time.
Does anyone know how we can ensure that the SCP process is *not* killed by CSF?
We are trying to SCP a large file from one of our servers, however CSF appears to be killing the SCP process after around 55 minutes.
In /var/log/lfd.log we see the following messages:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code: Select all
/var/log/lfd.log-20141214:Dec 12 12:20:20 hostname lfd[653099]: *User Processing* PID:517054 Kill:0 User:<username> Time:1843 EXE:/usr/local/cpanel/3rdparty/perl/514/bin/perl CMD:sshcontrol child: <ip address> - waiting on pid 517051
/var/log/lfd.log-20141214:Dec 12 12:21:19 hostname lfd[664824]: *Suspicious Process* PID:652751 PPID:652750 User:<username> Uptime:95 secs EXE:/usr/bin/ssh CMD:ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=10 -x2MN -o NumberOfPasswordPrompts=1 -o PreferredAuthentications=keyboard-interactive,password -S /home/<username>/.libnet-openssh-perl/atabackups-<ip address>-652750-484994 -l atabackups -p 22 <ip address> --
In /etc/csf/csf.pignore we already have all SSH binaries listed:
exe:/usr/sbin/sshd
exe:/usr/sbin/ssh
exe:/usr/bin/ssh
And we have restarted CSF, but the process is still killed after the same amount of time.
Does anyone know how we can ensure that the SCP process is *not* killed by CSF?