On the sending side I get stuck on 0 bytes and “Failed to get last filename”, whatever it means. How can I diagnose further?
Alright, I would just suggest reinstalling the Kali template and see if that eliminates your issue.
It does not. However, it is kali-motd called from /etc/profile.d scripts to blame.