Why does it take a long time to see a login prompt after successful authentication with ssh.
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.