[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stupid question maybe.

On Thu, Jan 31, 2002 at 02:07:23AM +0200, Eetu Rantanen wrote:
> On Wed, 30 Jan 2002, Nicolas Bougues wrote:
> > rsync --rsh="ssh <machine B> ssh" <machine C>:/some/dir /some/local/dir
> >
> > I tested this second solution, and I can't see how to make ssh ask the
> > second password (for machine C). It complains it has no controlling
> > tty. It works well if you setup your ssh to connect without passwords
> > from B to C, however (by trusting keys).
> Try it with ssh -t,
>   -t          Tty; allocate a tty even if command is given.
> It'll then prompt for the password.

That's what I tried. It worked well for the first hop, but not the
next one. But maybe I got something wrong.

Axialys Interactive

Reply to: