Originally posted by: GarlandJoseph
I would suggest using ssh and running this script from one SOURCE machine. I would transfer the public key to each of the target servers so that the SOURCE machine would not have to specify the pass word and could simply do something like
scp user@targetmachine:$ORACLE_HOME/Version.txt targetmachine_version.txt
or
ssh user@targetmachine cat $ORACLE_HOME/Version.txt.
If you don't have ssh then you could create an expect script that could supply the password instead of setting up ssh keyed access. You could also automate ftp using a .netrc script to ftp the file from the target machines.
Note: "user@targetmachine" implies that the SOURCE machine has placed it's ssh public key in that user's .ssh directory on the target machine.
#AIX-Forum