[Bug 3747] New: ssh with ldap user account slow every time, local accounts unaffected
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Oct 23 19:39:17 AEDT 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=3747
Bug ID: 3747
Summary: ssh with ldap user account slow every time, local
accounts unaffected
Product: Portable OpenSSH
Version: 8.9p1
Hardware: 68k
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
Reporter: craig.emery at arm.com
Created attachment 3841
--> https://bugzilla.mindrot.org/attachment.cgi?id=3841&action=edit
A snippet of /var/log/auth.log when logging in as an LDAP user.
I have an Ubuntu install on arm64
openssh version 1:8.9p1_3ubuntu10 installed.
Whe I ssh to the machine with an authorized key in an LDAP account it
takes approx 17seconds to get a shell prompt.
When I do the same with the same key but to a simple local account,
it's under one second.
/var/log/auth.log shows ensure_minimum_time_since() "sleeping" for 3.5
seconds. This seems to happen more than once. And "going in" it says
we've already spent 7 seconds.
Going from the debug logs I can't find out why and why only when the
"target" user is an LDAP one.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list