Actually ssh keygen won't avoid the password prompt because I need to be root on the remote machine to copy file in certain filesystems. Steve Hemond Programmeur / Programmer Smurfit-Stone, Ressources Forestières La Tuque, P.Q. Phone : (819) 676-8100 X2833 Mail : shemond@smurfit.com
-----Message d'origine----- De : Robt. Miller [mailto:bobm@robtmil.com] Envoyé : 28 mai 2004 08:35 À : Hemond, Steve; suse-linux-e@suse.com Objet : Re: [SLE] Script to SCP files
On Fri, May 28, 2004 at 07:27:02AM -0500, Hemond, Steve wrote:
Hi people,
I need to migrate stuff from an Aix server to a SuSE Linux server and I will do this by copying the files using SCP. It works very well, as long as I am there to type the password!
I would like to put many scp commands (one for each filesystem i need to copy) in a script but actually it won't work because I have to type the password for every scp command.
Is there any way I can avoid the password prompt or maybe include it in the script? Or is there any better way to copy stuff like that?
ssh-keygen
--
(o< |) //\ ..may the beacon /\obt. V_/_ pass you by.. /\/\iller 8:34am up 2 days, 2:03, 17 users, load average: 0.00, 0.01, 0.00 processes 66642