Subject: lib/31411: Server refused to allocate pty
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 09/29/2005 01:02:00
>Synopsis: Server refused to allocate pty
>Arrival-Date: Thu Sep 29 01:02:00 +0000 2005
>Originator: Zafer Aydogan
The ssh demon does not deny the new incoming connection, if all
pty's are already in use.
The Login freezes after authentication, but the .profile is executed. (uptime was in .profile)
if you try to login, it looks like this:
Server refused to allocate pty
8:34AM up 2 days, 15:05, 64 users, load averages: 0.90, 1.94, 1.77
and then the connection freezes.
The machine is fine.
sshd: error: openpty: No such file or directory
sshd: error: session_pty_req: session 0 allac failed
There is no problem with telnet.
if you try to connect you get:
telnetd: All network ports in use.
then the connection is disconnected.
I thought sshd would disconnect aswell.
try to ssh-login on a full server (with 64 users).