Look up the man page on pty(4)<http://www.openbsd.org/cgi-bin/man.cgi?query=pty&sektion=4>it will tell you how and what is needed to increase the number of pseudo terminals on the system, specifically kern.tty.maxptys if you need more than 992 that it says is set.
On 1/5/06, Kim Onnel <[EMAIL PROTECTED]> wrote: > > Hello, > I have an OpenBSD 3.6 running as a jump-through host, people ssh in and > telnet out > > users are systraced and they all use an expect script. > > I get this message when the users exceed the number of ptys (a-z. A-Z,0-9) > > The system has no more ptys. Ask your system administrator to create > more. > > and at my messages log: > > > Jan 5 11:52:50 bastion2 sshd[5072]: error: openpty: No such file or > directory > Jan 5 11:52:50 bastion2 sshd[3002]: error: session_pty_req: session 0 > alloc > failed > Jan 5 11:52:53 bastion2 sshd[13660]: error: openpty: No such file or > directory > Jan 5 11:52:53 bastion2 sshd[11094]: error: session_pty_req: session 0 > alloc failed > Jan 5 11:53:08 bastion2 sshd[30104]: error: openpty: No such file or > directory > Jan 5 11:53:08 bastion2 sshd[4272]: error: session_pty_req: session 0 > alloc > failed > Jan 5 11:53:11 bastion2 sshd[21718]: error: openpty: No such file or > directory > Jan 5 11:53:11 bastion2 sshd[16534]: error: session_pty_req: session 0 > alloc failed > Jan 5 11:53:20 bastion2 sshd[8419]: error: openpty: No such file or > directory > Jan 5 11:53:20 bastion2 sshd[25920]: error: session_pty_req: session 0 > alloc failed > Jan 5 11:53:21 bastion2 sshd[6613]: error: openpty: No such file or > directory > Jan 5 11:53:21 bastion2 sshd[26402]: error: session_pty_req: session 0 > alloc failed > > > What can i do to increase ptys ? > > googling shows people getting the same messgae and expect/gcc being > involved, or is it just a system message ?

