e221f86031
- Issue: SSH packet size exceeds client maxpack limit (32781 > 32768) - Impact: Large file transfer fails, file incomplete - Severity: ⭐⭐⭐⭐⭐ Critical (blocks all SFTP large file transfers) - Status: SSH server stable (no crash), but transfers incomplete Test results: - 5MB upload: 2.0MB (incomplete) - 5MB download: 0B (failed) - MD5 check: Failed Root cause: SSH server violates RFC 4254 Section 5.3 - SSH_MSG_CHANNEL_DATA packet must not exceed client maxpack - OpenSSH client maxpack: 32768 bytes Next step: Phase 4 (highest priority) - Add client_maxpack field to Channel structure - Fix SSH_FXP_READDIR: chunk file list (max 320 files per packet) - Fix SSH_FXP_DATA: chunk data (max 32KB per packet) - Add packet size validation before sending Estimated work: ~200 lines, ~1 hour