scp broken after update to 11.3

After updating to 11.3 scp from my MBP is consistently broken for files larger than ~200 KB with the error "client_loop: send disconnect: Broken pipe"


$ dd if=/dev/urandom of=test.dat count=400 2> /dev/null && ls -l test.dat && scp test.dat $DST
-rw-r--r--  1 xxxx  staff  204800 Apr 28 11:27 test.dat
test.dat                                        0%    0     0.0KB/s   --:-- ETAclient_loop: send disconnect: Broken pipe
lost connection


This is definitely new, as I'm using scp on an almost-daily basis and never had an issue before the update. This behavior is also visible on 2 different server architectures I've used as a destination (to rule out a coincidental server misconfiguration).


What is also weird is that the problem shows for both stock SSH as well as for Homebrew SSH install, which hints of either SSH client configuration issue or a bug in the networking stack. I'm curious if anyone else is observing the same issue.


P.S. One imperfect way to workaround the issue is to use a sufficiently low bandwidth limit (-l option):


$ dd if=/dev/urandom of=test.dat count=400 2> /dev/null && ls -l test.dat && scp -l 30000 test.dat $DST
-rw-r--r--  1 xxxx  staff  204800 Apr 28 11:39 test.dat
test.dat                                      100%  200KB   3.1MB/s   00:00 

MacBook Pro (2020 and later)

Posted on Apr 28, 2021 8:42 AM

Reply
Question marked as Top-ranking reply

Posted on May 3, 2021 7:22 PM

I've found the culprit - Norton Internet Security seems to have been causing problems. Uninstalling it fixed scp behavior.

Similar questions

3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

scp broken after update to 11.3

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.