that cp command is executed on the remote system, so it will copy your
log.cap file to /export/home on the remote system.   is that what you
want to do?


No, actually I wanted to copy remote node /tmp/log.cap to its /export/home. Please correct me.
Thank you