SSH on macOS to remote VM gets client_loop send disconnect broken pipe

I had the same problem on my MAC OS Catalina 10.15.5 After some research on google I added the following line to my /etc/ssh/ssh_config Host * IPQoS=throughput And it fixed the problem. Note that I initially tried to add the same in .ssh/config file (i had to create it) and apparently it is not working on MAC. Unlike any Linux distro. So use /etc/ssh/ssh_config on MAC to configure your SSH Client