0

Whenever a ssh session request is stuck at debug1: Local version string SSH-2.0-OpenSSH_8.1, it means client have sent the local version string and awaiting version string from server.

I looked at the logs and still don't understand why ssh sessions timed out. Looking at the logs, I could see following from /var/log/auth.log

Can DBus timeout cause server to not send the local ssh version to client request and simply ignore? Am I looking into right direction here?

May 18 11:59:08 logs-OH systemd-logind[1691]: Failed to start user slice user-1384.slice, ignoring: Connection timed out (org.freedesktop.DBus.Error.Timeout)
May 18 12:00:22 logs-OH systemd-logind[1691]: Failed to start user service, ignoring: Connection timed out
May 18 12:02:59 logs-OH systemd-logind[1691]: Failed to start session scope session-60000.scope: Connection timed out
May 18 12:03:00 logs-OH systemd-logind[1691]: Failed to stop user service: Connection timed out
May 18 12:03:00 logs-OH systemd-logind[1691]: Failed to stop user slice: Connection timed out
May 18 12:03:00 logs-OH systemd-logind[1691]: Failed to abandon session scope, ignoring: Connection timed out
May 18 12:03:27 logs-OH systemd-logind[1691]: Removed session 59858.
May 18 12:54:39 logs-OH systemd-logind[1691]: Failed to abandon session scope, ignoring: Connection timed out
May 18 12:57:00 logs-OH systemd-logind[1691]: Removed session 59865.
May 18 12:57:48 logs-OH systemd-logind[1691]: Failed to stop user service: Connection timed out
May 18 12:59:27 logs-OH systemd-logind[1691]: Failed to stop user slice: Connection timed out
May 18 13:34:12 logs-OH dbus-daemon[1706]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)    
May 18 13:39:19 logs-OH systemd-logind[1691]: Failed to abandon session scope, ignoring: Connection timed out
May 18 13:47:52 logs-OH systemd-logind[1691]: Failed to abandon session scope, ignoring: Connection timed out
May 18 13:48:42 logs-OH dbus-daemon[1706]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
May 18 13:52:17 logs-OH systemd-logind[1691]: Failed to abandon session scope, ignoring: Connection timed out
May 18 13:53:39 logs-OH dbus-daemon[1706]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
May 18 15:44:36 logs-OH systemd-logind[1751]: New seat seat0.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.