There's a bug in pysftp that appears to cause quadratic performance loss. See https://github.com/paramiko/paramiko/issues/1141 for more details. As a temporary band-aid fix, lower the size of the files we're sending.