Got it. Thank you very much.
Works wonderful.
Now I just have figure out how to put minimal tools together so it is easy
to install.
Thanks,
Hans E.
----- Original Message -----
From: "Goswin Brederlow" <[EMAIL PROTECTED]>
To: "Hans E. Kristiansen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, January 14, 2001 08:40
Subject: Re: rsync in a batch file
> >>>>> " " == Hans E Kristiansen <[EMAIL PROTECTED]> writes:
>
> > Hi! I am working a project where I am using rsync in a batch
> > file, a similar example is given below:
>
> > @echo off echo Starting backup procedures cd d:\bin rsync -e
> > ./ssh -av "\\Downloads/" tropic.net:backup/Downloads rsync -e
> > ./ssh -av "\\Documents and Settings/HAns E. Kristiansen/My
> > Documents/" "tropic.net:backup/My\ Documents" rsync -e ./ssh
> > -av "\\Media/" tropic.net:backup/Media rsync -e ./ssh -av
> > "\\e/Projects/" tropic.net:backup/Projects
>
> > Apart from thefact that the \\e\ does not work with windows
> > 2000 ( the stat function fails ), I am looking for a way to
> > only ask for the password once. And only once. Preferably in a
> > dialog box. I have tried the ssh-agent software, but I do not
> > fully understand the functionality.
>
> > Anyone?
>
> Read up on the ssh-agent, thats the way to go.
>
> Of cause you could generate a ssh key without passphrase, but thats
> less secure since then someone can steal the key.
>
> MfG
> Goswin
>
> PS: I use no passphrase.
>