Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] Script to SCP files
  • From: Jostein Berntsen <jbernts@xxxxxxxxxxxx>
  • Date: Fri, 28 May 2004 14:45:19 +0200
  • Message-id: <20040528124519.GB2575@xxxxxxxx>
On 28.05.04,07:27, 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?
> Thanks a lot for your answers,

This fine book describes how to do this using rsync and ssh. Example

- Jostein

Jostein Berntsen <jbernts@xxxxxxxxxxxx>

< Previous Next >