[Bug 1837] scp fails key auth/connection on second host when two remote paths are specified

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Nov 24 12:21:53 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1837

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #5 from Damien Miller <djm at mindrot.org> 2010-11-24 12:21:53 EST ---
Yes, we agree that this behaviour is stupid. Unfortunately, scp just
rcp, which is 27 years old and is widely understood to behave exactly
as it does. If we change it then we will break users' expectations and
scripts.

We aren't really interested in extending scp either. It implements no
backwards compatibility mechanisms and the code is unpleasant to work
on. 

That being said, the current behaviour of scp is broken in that it
doesn't propagate options from the commandline to the ssh command used
to invoke the remote-remote copy. This stops a user from manually
specifying that they want to forward their agent on the commandline
(doing it in the config file already works ok).

The patch I just attached fixes this.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list