SSH connect very slow due to the root user isn't known by system services

Solution Unverified - Updated -

Issue

  • When the error "dbus-daemon: Unknown username "root" in message bus configuration file " and "sshd[12465]: input_userauth_request: invalid user root [preauth]" in /var/log/messages , it may caused SSH connect very slow that takes more than 20~30 seconds.

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content