job is started with sshd daemon; wish to know its implementation details

Hello Gurus,

In solaris server, one folder say /appl/prod/usr/sendme get files those need to be processed. The script named checkFile.sh can process the each file.

This script checkFile.sh is not scheduled in crontab. But whenever file puts in sendme folder, the checkFile.sh is called and that file is processed.

When we checked the processes of checkFile.sh through ptree then

12345 /usr/lib/ssh/sshd
   12346 /usr/lib/ssh/sshd
        12347 /usr/lib/ssh/sshd
            12348 ksh /appl/prod/usr/scripts/checkFile.sh transaction_det_120201

We want to know how this process is being called who schedule it and how can we set this process on one server. etc.

Kindly co-operate with me to know about it.

ssh nodename '/appl/prod/usr/scripts/checkFile.sh transaction_det_120201'

started the script

ps -ef | grep 12348

will show you the user running the process, you will have to play with
the output of

netstat -an 

to see where the command originated from.