Re: ssh hangs after successfull login

From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 10/26/05


Date: 26 Oct 2005 10:30:08 GMT

On 2005-10-26, Zhang Weiwu <zhangweiwu@realss.com> wrote:
> Hello. I am not sure if my problem is exactly the one mensioned in this
> document but it isn't really alike
> http://www.snailbook.com/faq/mtu-mismatch.auto.html
[...]
> A quick google brought me to the above article saying that perhaps my
> MTU has problematic settings. I got no chance to adjust MTU of the
> remote uk server (becuase ssh is the only way I can get to the server,

Adjusting the MTU on the client end should help since TCP negotiates
the "maximum segment size" (MSS) of the connection to the lesser of
client's MTU, sender's MTU and (hopefully) the path MTU (unless you've
got a firewall that mangles the MSS of outgoing connections, such as
the clampmss option on some pppoe packages).

When it hangs, if you can check the output of "netstat" for your
connection then you may see a constant or growing number in the "Send-Q"
(although in your case, the problem is probably on the server side so
that won't help).

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


Relevant Pages

  • Re: POP3 Connector Issue
    ... Ping statistics for 216.119.106.131: ... I entered the MTU value in the Registry of 1452 today and I will see what ... > server name with the ones that you receive the events connecting to. ... If more than one network connection is listed, for each connection, ...
    (microsoft.public.windows.server.sbs)
  • Re: POP3 Connector Issue
    ... or in other cases you can modify the MTU on the server. ... server name with the ones that you receive the events connecting to. ... If more than one network connection is listed, for each connection, ...
    (microsoft.public.windows.server.sbs)
  • PROBLEM: Oops, nfsd, networking
    ... NFSD crash at large MTU and odd wsize/rsize. ... over NFS to a Linux NFS server. ... Our product is essentially a high end media server that takes in up to ... null getattr setattr root lookup readlink ...
    (Linux-Kernel)
  • Re: AD Replication over SonicWall site-to-site VPN
    ... The MTU can be an Issue: ... Test your MTU from the problem server by pinging the gateway of your router: ... Kerberos authentication service to use TCP instead of UDP. ... there are no explicit prohibitions on any of the ports required. ...
    (microsoft.public.windows.server.active_directory)
  • RE: POP 3 Errors/Warnings
    ... Server MTU is 1472, Router MTU was 1468. ... You can find the method how to set the MTU value for SBS server in my last ...
    (microsoft.public.windows.server.sbs)