This is a discussion on rsync through multiple ssh hops with password authentication prompt - Tools ; Hi, I have searched the whole internet and mailing list and I was unable
to find a clear answer to this. The method described in the FAQ [1] are
not useful for me.
Three machines source, middle, target. ssh into ...

rsync through multiple ssh hops with password authentication prompt

Hi, I have searched the whole internet and mailing list and I was unable
to find a clear answer to this. The method described in the FAQ [1] are
not useful for me.

Three machines source, middle, target. ssh into middle from source
requires password pass_middle. ssh into target from middle requires
password pass_target. One cannot reach target from source. So I can do:

Both ask the first password but they generate an error before asking for
the second one.

I know for sure that if you can ssh into target from middle without a
password (using keys or whatever), then the second rsync command works
perfectly.

I wish to know if there is a way to achieve this, that is, rsync asks
for both passwords and then transfers the files. In case it is not
currently possible, would it ever be possible, that is, should I fill a
bug report or feature request report? Otherwise, it would be interesting
to update the rsync FAQ [1] to state that this is clearly impossible and
one must use a passwordless authentication method in the second hop.