Description of problem: Transfer of large files such as 5.4 GB fails under openSSH secure copy (i.e. scp) The same result when trying to use ftp. ----- Error from scp ----------------------------------------- [williams@matrix ade]$ scp 192.168.1.102:ade/myADE.tgz .williams.1.102's password:myADE.tgz 7% 438MB 3.9MB/s 21:34 ETADisconnecting: Corrupted MAC on input.lost connection -------------------------------------------------------------- Version-Release number of selected component (if applicable): Linux matrix 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux [root@matrix ssh]# rpm -q openssh openssh-3.6.1p2-19 How reproducible: Happens everytime Steps to Reproduce: 1. Create a tar-gzipped file of size 5.4 GB on machine B 2. Attempt to copy via scp file from machine B 3. Actual results: Copy starts and fails after about 22% complete Expected results: Complete and successful transfer Additional info:
"Corrupted MAC on input" is usually the result of hardware (network or host) problems. There's also a well-documented firmware problem with LinkSys routers that is known to cause this: http://bugzilla.mindrot.org/show_bug.cgi?id=510 there's also a couple of other possibilities here: http://bugzilla.mindrot.org/show_bug.cgi?id=845 FWIW I tried a 5.4GB scp to localhost on a FC2 box and it worked OK. $ rpm -q fedora-release openssh fedora-release-2-4 openssh-3.6.1p2-34 $ dd if=/dev/urandom of=/tmp/big bs=1024k count=5400 $ scp /tmp/big localhost:/tmp/big2 big 100% 5400MB 7.4MB/s 12:07 $
Works for me here as well.