[Tfug] scp transfers stalling

Robert Hunter hunter at tfug.org
Sat Aug 2 12:48:58 MST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Aug 01, 2008 at 05:02:19PM -0700, John Gruenenfelder wrote:
> A bit more about the network which may, perhaps, be relevant:

Some cursory searching reveals quite a bit of discussion about stalled
ssh sessions, and these discussions seem to fall into two categories.
Stalled sessions due to inactivity, and stalled sessions during large
file transfers, although I know not if your problem falls into either
of these categories.  Incidentally, the ssh_config and sshd_config
manpages talk about various options (e.g.,
{Client,Server}AliveInterval) that may have some relevance to your
situation.

Furthermore, have you tried running the server in debug mode?  To do
this, I would launch an alternate instance of the server on a
different port, so as not to interfere with remote access to the
machine.  You may also want to do all this in a screen session, so
that your session persists in the event you need to reconnect.

You may also attempt to trace the session from the client with a
protocol analyzer, like Wireshark.  Since you can somewhat reliably
reproduce the stalling problem, it should be instructive to see what
is happening to the connection at the packet level.

- --Rob








-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD4DBQFIlLoqJ1pz6tWxufARAtLSAJ4t1P3sv8rV3rD7aXd3R8lgSGw0UACXQYab
CgPtzaHJO2E0ERENngU9uA==
=AAMa
-----END PGP SIGNATURE-----




More information about the tfug mailing list