Re: Question on automating scp between 2 servers

From: abdelkarim.daddi-hammou@VMD.DESJARDINS.COM
Date: Fri Mar 14 2003 - 12:34:12 EST


Use generated keys, it avoids prompting for password.

Abdelkarim Daddi-Hammou
Administrateur de systèmes UNIX /WebSphere -
UNIX /WebSphere Systems Administrator
Valeurs Mobilières Desjardins - Desjardins Securities
tél. (514) 281-2244 x 7604
adh@vmd.desjardins.com

Drew Wrobel <Andrew_Wrobel@PEPBOYS.COM>
Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
14/03/2003 12:19
Please respond to IBM AIX Discussion List

 
        To: aix-l@Princeton.EDU
        cc:
        Subject: Question on automating scp between 2 servers

I have a need where I have to setup a cronjob to scp a file from
servera to serverb on
a regular basis.

I've used ssh/scp interactively, but I'm a bit stumped on how to setup
a script where scp
doesn't prompt me for the password.

Suggestions???????

Disclaimer: The information contained in this communication is
confidential and only for the use of the intended addressee(s). If you
have received this communication in error, any disclosure or use of such
information is strictly prohibited. Please notify the sender immediately
and destroy all copies. Thank you.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:39 EDT