Thanks for your quick reply.
I can able to ssh to other servers and able run the command. I'm getting emails from each server. To aviod this, I'm trying to append file using ssh using following command
ssh
user@some.domain "cat remote-source-file-name" >> local-target-file-name
since I have to add this command to the script for several servers and need to remove the file from all servers, the script will be too long.
if I can do it in oppisite direction using following command
cat local-source-file-name | ssh
user@some.domain "cat >> remote-target-file-name"
i can send result file from all servers and append to the file where (server A) the intial command runs. from there I can send an email with result file. But for this, Do I need to copy RSA keys from all servers to server A. Because when I run the above command, it asking me for the password. But I can ssh from server A to all other servers without the password. Any one have idea. Thanks.