From owner-freebsd-questions Wed Mar 6 10: 9:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 9CE1137B404 for ; Wed, 6 Mar 2002 10:09:20 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g26I7dD25115; Wed, 6 Mar 2002 10:07:39 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Wed, 6 Mar 2002 10:07:39 -0800 (PST) From: Patrick Thomas To: Leo Bicknell Cc: Subject: Re: cannot get more than 32 PTYs in 4.4-RELEASE In-Reply-To: <20020306142106.GA78653@ussenterprise.ufp.org> Message-ID: <20020306100412.V25030-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you for all your help and explanation. I am cc'ing this to the list one last time so that this conclusion gets posted and archived, and people searching for this topic in the future can get the full conclusion themselves. Conclusion: freebsd 4.4-RELEASE does not come built automatically with 256 ptys. If you add 256 ptys, you will need to recompile `screen` first before screen will use them at all, BUT more importantly, the built-in `sshd` in 4.4-RELEASE also needs to be rebuilt to take advantage of more PTYs. This is hard because sshd is part of the installed system, so you have to remove it and rebuild it to take advantage of any new PTYs that you have added to your 4.4-RELEASE system. I have verified that this is NOT the case in 4.5-RELEASE. 4.5-RELEASE has sshd built to assume 256 ptys, so if you go ahead and add that many, it will use them. screen seems to use extra PTYs added after the fact as well in 4.5. --PT > In a message written on Tue, Mar 05, 2002 at 08:50:30PM -0800, Patrick Thomas wrote: > > So does that mean that, in the same manner that screen needs to be > > reinstalled to understand the new number of PTYs available, openSSH also > > needs to be reinstalled to understand the new number of PTYs available ? > > Probably. I suspect whatever version you're running is right after > a new version of OpenSSH was imported. It defaults to 32 PTY's. > It's configure script (not used in the FreeBSD build process) checks > for more. Someone probably didn't update it, some code got out, > and then it was fixed later. > > Really anything dealing with PTY's and not part of the base system > probably needs to be rebuilt. The base system should be all built > for 256. Obviously you found an error in that. > > -- > Leo Bicknell - bicknell@ufp.org - CCIE 3440 > PGP keys at http://www.ufp.org/~bicknell/ > Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message