Hi all,
Normally to launch a process in the remote machine I will use ssh to the machine and launch the process.I want to launch the remote machine process with out login into the machine . Is there any way.
It may be any workaround method.
How is the remote box to know when you want to run your job? Telepathy does
not work well in the UNIX world
With no communication at all:
use cron, set the process to run at a fixed time interval
A> Otherwise there has to be some kind of interaction. If you want system information, try setting up snmp, then request the information when you want it.
B> One system I had long ago: there was a daemon run by a special user account. It read email sent to that account. The subject line was a command to run. The daemon ran the command and emailed the output back. There are huge security issues with this nowadays.
modern way to to B>
nfs mount a filesystem shared on the two boxes. Create/edit files with special names in a restricted directory to do what B> above did.
Bottom line: ssh is much better, even if you have to script it. The choices above (except cron & snmp) can have problems with security
You might also use ftp/sftp to place a trigger file on the remote machine, and have spooler type process run if the file is present, then delete the file.