SCP file corruptions

Damien Miller djm at mindrot.org
Tue May 7 10:28:00 EST 2002


On Mon, 6 May 2002, GATHMAN,DON (HP-Boise,ex1) wrote:

> Thanks for the replies..
> 
> My use of scp was just as Nico described, and I'm using SSHv1.  I guess I'm
> without a paddle on the file I corrupted. I'll chalk it up to a Monday
> morning lesson and see if I can update SSH on the machines I'm working
> with..

This problem has come up before:

"scp fileA fileA" will give an error, while "scp fileA localhost:fileA" 
will silently corrupt the file.

There is no real way we can detect the latter in the general case.

-d




More information about the openssh-unix-dev mailing list