SSH through script
DOANov 10 2010 — edited Nov 15 2010Hi experts,
I am using AIX with 10g database.
I need to write a script (SSH) to copy my database alert_log file (last 15 lines) into a new file say abc.txt and again need to copy this abc.txt to my dataguard side. Dataguar side have same OS with same database.
example:
On $ prompt if I execute the command:
cat alert | ssh blrorn1 "cat >> /d05_proddbx/oraprod/abc.txt"
oraprod@blrorn1's password:
It ask for password,
Any idea that how to set this password in script so that it allow me copy without asking password ????
thanks in ADV !!!