On Mon, 22 May 2000, Daron Barndon wrote:
> Does anyone know how to "batch mode" scp? What I need is a way to
> specify the password on the command line for an automatic statistics
> collection script I have written. If possible I want to avoid using .shosts.
If the statistics are not super sensitive, set up a specific SSH key pair,
with no pass phrase, but limit that key in
destination:.ssh/authorized_keys to only have permission to run the stats
gathering process. Standard file permissions will protect that key from
theft on your local system.
If that isn't secure enough for you, use SSH agent to collect your
passphrase, and then later run the stats collection process in that
shell's environment.
--
Charlie Brady
Aurema Pty Ltd
PO Box 305, Strawberry Hills, NSW 2012, Australia
Email:[EMAIL PROTECTED], Tel: +61 2 9698 2322, Fax: +61 2 9699 9174
"I think it would be a good idea." Gandhi, on Western Civilisation.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text