Why is server throwing "Error: openpty: No such file or directory." while trying to log in via ssh or terminal?
Issue
- "test" user is unable to login on the system using
sshcommand. /var/log/securecontains following error messages.
Dec 15 10:02:04 sshd[23608]: error: openpty: No such file or directory
Dec 15 10:02:04 sshd[23608]: error: session_pty_req: session 0 alloc failed
- Sometimes remote
sshterminal hangs.
Environment
- Red Hat Enterprise Linux 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
