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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.