Why does it take a long time to see a login prompt after successful authentication with ssh.

Solution Verified - Updated -

Issue

  • It takes about 30 seconds to login with ssh.
  • It seems that the delay happens after successful authentication.
  • I can see the following messages in /var/log/secure.
sshd[10112]: pam_systemd(sshd:session): Failed to create session: Connection timed out

Environment

  • Red Hat Enterprise Linux 7
  • CoreOS 1123.3.0

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