[prev in list] [next in list] [prev in thread] [next in thread]
List: rsync
Subject: Re: newbie: rsync and ssh and password
From: willem <realother () wildape ! com>
Date: 2001-09-26 10:15:27
[Download RAW message or body]
peter lindsay wrote:
> Hi,
>
> I've got the following command that works fine; it prompt for a password
> then runs okay:
>
> "rsync -az -e ssh myserver.ac.uk:/var/lib/mysql
> /www/rsynctagsassets/databases"
>
> I wanted to run it as a script so put it into a file called rsync.sh and
> chmod +x 'd it.
>
> It runs as a script okay but still prompts for a password.
>
> I read "man ssh" and the bit about "BatchMode" and "yes" but didn't really
> follow it.
>
> Is there quick way to implement my script please anyone ?
>
> Many thanks,
>
> Pete Lindsay
> ____________________________________
> Peter Lindsay
> School of Computer Science
> University of St Andrews
> St Andrews
> Fife, KY16 9SS
> UK
>
> Telephone +44 (0)1334 462824 ( Direct Line )
> Email plindsay@dcs.st-and.ac.uk
> ____________________________________
you have to use ssh-keygen
check it out
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic