You could use ssh's public-key authentication for this...of course you 
would have to generate your keys without a passphrase, which ideally 
isn't the most secure way to do it, but it's probably more secure than 
putting the passwords in a cleartext script.

-Erik

Raymond Norton wrote:
> I want to use scp to transfer a number of log files from different hosts to
> my server on a daily basis .  So far, the docs I have found only give
> examples of usernames from the command line. I need to do the username and
> password so I can schedule a script to run each night. Is there a way to do
> this?
> 
> 
> Raymond
> -------------
> 
> Defeat is a matter of choice.
> 
>                                 --God
> 
> 
> 
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list