[Bug 3747] ssh with ldap user account slow every time, local accounts unaffected

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Oct 24 08:50:45 AEDT 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=3747

--- Comment #5 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Craig Emery from comment #4)
[...]
> I think this will have been the first ever LDAP mount of the user
> home directory.
> 
> JOOI: Is there a DB / file I can remove that deletes the history of
> how long things previously took?

There's no persistent state, it only exists in the context of the
running sshd.  It does compute a per (host, user) hash so that there's
some minimum time for any given pair, but that's only a few
milliseconds so in your case the delay measured at runtime will
dominate what you can see.

> So going forward I can see quicker times?

If the home directory remains mounted (or can be remounted faster due
to some kind of caching effect) then subsequent connection attempts
will be proportionally quicker.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list