On Fri, Jan 05, 2001 at 09:49:33AM -0500, Rick Otten wrote:
> > Rick Otten wrote:
> > 
> > > Hello rsync gurus,
> > >
> > >   Quick question:
> > >
> > >   I am trying to rsync onto a machine which requires two passwords (using
> > > ssh as the transport).
> > >   First is a regular password, the second is a SecurID PIN.
> > >
> > >   I suspect this is why my rsync isn't working.  Is this a good suspicion?
> > >
> > >   Error message:  "unexpected EOF in read_timeout"
> > >
> > >   Is there an easy fix?
> > >
> > >   I know I can copy ssh key files over to possibly eliminate one of the
> > > passwords - however once I get this working I have a bunch of users who
> > > do not have the technical skill to do that step who will need to run
> > > rsync and I can't do it for them since I don't have root on either box.
> > >
> > >   I'd rather not copy the key files over anyhow...
> > >
> > >   Ideas?
> > >
> > > --
> > > Rick Otten
> > > [EMAIL PROTECTED]
> > > O=='=++
> > 
> > --
> > You got it, you are getting the unexpected EOF in read_timeout cause ssh is
> > terminating early.
...
> > Jason Hammerschmidt - MacLaren McCann Interactive - 416.643.8560

Yes, the error message is coming because ssh is terminating early but I
don't think that the advice that Jason goes on to give (using extra keys,
expect, etc) is correct.  There is no reason why rsync can't handle a
double prompt, because when you use "rsync -e ssh" all the prompting is
handled completely by ssh; rsync has nothing to do with it.  I just tried
an example and it worked ok.  Are you getting any other error messages
before "unexpected EOF in read_timeout"?  My guess is that you aren't
getting properly authenticated to ssh.  Using "rsync -e 'ssh -v'" may
give you more info about what's going wrong.

- Dave Dykstra

Reply via email to