Forum Discussion
What_Lies_Bene1
Jul 21, 2014Cirrostratus
The script just saves the files locally I'm afraid.
Storing a username and password in this file would not be a good idea. You'd want to set-up key-based authentication as explained here: https://blogs.oracle.com/jkini/entry/how_to_scp_scp_and.
Then it would be as simple as adding something like this before the end of the script;
scp "${UCS_FILENAME}.ucs" username@hostname:/dir/location/
scp "${UCS_FILENAME}.scf" username@hostname:/dir/location/