SCP script
Brad Crotchett
brad at ispn.net
Wed Dec 4 00:54:06 CST 2002
I get the same results when I change it to "password".
Thanks,
Brad
-----Forwarded Message-----
> From: Duane Attaway <dattaway at attaway.net>
> To: Brad Crotchett <brad at ispn.net>
> Subject: Re: SCP script
> Date: 03 Dec 2002 16:57:18 -0600
>
> On 3 Dec 2002, Brad Crotchett wrote:
>
> > send " scp root at server1:/path_to_file /path_to_file_on_server2r"
> > expect "root at server1's password:"
> > send "passwordr"
>
> I'd change the expect line to just "password:" Its possible that the name
> may be resolved and displayed differently under cron since cron may be the
> owner of that job.
>
More information about the Kclug
mailing list