[CLUE-Tech] Bash and password entry

Jed S. Baer thag at frii.com
Mon Mar 25 00:30:14 MST 2002


On Mon, 25 Mar 2002 00:17:40 -0700
Matt Gushee <mgushee at havenrock.com> wrote:

> > Does -B to scp help?  The man page isn't specific.
> 
> Hmm. Probably not in this case. What I actually need to do is:
> 
>   1) Compare the system time on the two machines;
>   2) Compare the last modified times of all files in the directories
>      of interest, adjusting for any clock skew; then
>   3) Copy the more recent versions to the other host -- which could
>      go either or both directions.
> 
> But, as I mentioned, I can just do it all in an ssh-agent session, so
> my script doesn't need to deal with authentication.

Hmmm. I've never played with rsynch, but isn't that pretty much what it
does? Couldn't it be tunneled through ssh? I'd look at having both
machines keeping time with ntp, that way clock skew corrections shouldn't
be an issue.

-- 
"Those who expect to reap the blessings of freedom must, like men,
 undergo the fatigue of supporting it."
 - Thomas Paine



More information about the clue-tech mailing list