Re: Ten second intermittent delay on login

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

 



On Thu, 20 Jul 2023 at 10:54, Johnnie W Adams <jxadams@xxxxxxxx> wrote:
>      We're experiencing an odd ten-second delay intermittently when logging
> into any of our Linux boxes [...]   I'm
> having a heck of a time figuring out what or why. Any guidance would be
> greatly appreciated.

You can strace sshd to see what it's doing when it stalls.  Assuming
you can connect to another port, you can do something like this to run
sshd on 2222, tracing both parent and child sshds:

$ sudo strace -f /usr/sbin/sshd -De -ologlevel=fatal -p 2222

(note that the trace may contain sensitive information so treat it with caution)

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux