[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH pauses



On Tue, 2011-02-22 at 20:44 -0600, Nate Bargmann wrote:
> I notice that when I am logged into my desktop remotely via SSH that I
> get frequent pauses sometimes lasting for up to a half a minute or so.
> Generally it's not too problematic although it is annoying when typing
> an email (I log into my home box to read and send mail so it's all in
> one place).  
> 
> Is there some way to monitor the connection so that I can see what the
> issue might be?  It almost seems as though the connection loses sync in
> some way.  While the pauses occur other network functions from the
> laptop seem to work fine.  BTW, this seems to occur most frequently over
> Wifi even on my home LAN where a solid signal is available and no other
> machines are sharing the wireless.
<snip>
SSH is very sensitive to packet loss which is more prevalent on a
wireless link than a wired link.  If a packet is lost, it results in an
upper layer retransmission which will back off retires in an exponential
fashion, e.g., the first retry may wait 2 seconds, then 4, then 8, then
16, etc.

You can try tracing your connection with Wireshark which I believe has
an analysis tool which will show you if there are retransmissions.  Good
luck - John



Reply to: