For a while I've been having a problem with some SSH connections to remote servers (OpenSSH client from Gnome terminal on Ubuntu desktop to OpenSSH server on remote server). Connection is fine, but at some point during data transfer the connection will die. It's always (as far as I can tell) during transfer of date from server to client, eg I'll do "ls" and get half a directory listing, then nothing. The connection doesn't close (it becomes unresponsive and I have to kill the terminal).
Until now this has been annoying but not a show stopper; it happens fairly rarely. However, this weekend I'm at a LAN event talking to the server over a shared 3G connection (my PC -> IPCop -> Windows laptop with 3G modem and Windows Connection Sharing*) and the same symptoms are occurring, just far more frequently.
All of which I think might give a clue as to what's wrong, but I can't work it out. Any clues?
[*] 3G Modem comes with Windows software, this is the only way we could think to do this!