Hi there

have you tried using rsa public key authentication for ssh

put the clients users public key on the server in the authorized_keys file
in the .ssh dir

then there is no need for any passwords

On Mon, 22 May 2000, Daron Barndon wrote:

> Sluggers,
>       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.
> 
> I have tried to do it using expect but it seems to sense that its not
> running from the command line and dies... :-(
> 
> Thanks
> 
> Regards,
> Daron Barndon                     Phn: +61293420864
> Senior Network Engineer       Fax: +61293420998
> Network Applications Center  Mob: +61402021061
> Cable & Wireless Optus        Pgr: 1300300669
> 
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
> 

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to