16 Nov
2005
16 Nov
'05
16:19
On Wed, 2005-11-16 at 16:12 +0100, Kalos Bonasia wrote:
It is possible to automate scp command declaring the password?
for example, in scp -p -r pippo@10.10.1.100:/home/* /backup/pippo/ can I add the password in the row parameter how to schedule the scp?
Not directly but you can use scp with a programming language called expect. Or use a private/public key to avoid being prompted for a password. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998