Re: how to debug ssh slow connection issues.

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



On Fri, 23 May 2008, Jason Pyeron wrote:

I do not have any ideas on this.

Where should I start. [... lots and lots of snippage ...]

When sshd looks to be the culprit, my troubleshooting begins by launching it in foreground mode on a non-standard port on the server:

  sshd -ddd -p 2222

On the client, do

  ssh -p 2222 your.server

If that doesn't provide good info, wrap sshd in strace:

  strace -o /tmp/sshd-trace.txt sshd -d -p 2222

The strace output will show where the delays are occuring. (You can modify timestamp info in the strace output. See the man page for details.)

--
Paul Heinlein <> heinlein@xxxxxxxxxx <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux