From owner-freebsd-questions Mon Aug 23 13:28:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 592C914CC0 for ; Mon, 23 Aug 1999 13:27:59 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from lithium.scientia.demon.co.uk ([192.168.0.3]) by scientia.demon.co.uk with esmtp (Exim 3.032 #1) id 11Iy2F-000B7w-00; Mon, 23 Aug 1999 18:37:31 +0100 Received: (from ben) by lithium.scientia.demon.co.uk (Exim 3.032 #1) id 11Iy2E-000895-00; Mon, 23 Aug 1999 18:37:30 +0100 Date: Mon, 23 Aug 1999 18:37:30 +0100 From: Ben Smithurst To: daniel B Cc: freebsd-questions@freebsd.org Subject: Re: SSH fails to allocate pty Message-ID: <19990823183730.B30806@lithium.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG daniel B wrote: > I just installed shh-1.2.6 on a 3.2-RELEASE machine and it was working > fine until yesterday when I started getting the error message: > > frank sshd[4184]: error: openpty: no such file or directory > frank sshd[4192]: error: Failed to allocate pty. Perhaps frank has run out of PTYs, i.e., they're all in use by other login sessions or xterms. How many does it have, both in the kernel (`pseudo-device pty' line) and in /dev (`ls -l /dev/tty[p-sP-S]*')? You can make more devices in /dev with cd /dev sh MAKEDEV pty0 pty1 pty2 pty3 and so on, up to pty7, this will give you 256 PTYs, but your kernel must have support for that many if you want to use all of them. I think this has been changing recently in -current, but I'm not sure of the details, and you're not using -current anyway. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message