From owner-freebsd-questions@FreeBSD.ORG Wed Feb 4 12:12:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C3516A4CE for ; Wed, 4 Feb 2004 12:12:14 -0800 (PST) Received: from poecilotheria.netmails.net (netmails.net [12.96.164.138]) by mx1.FreeBSD.org (Postfix) with SMTP id CBB0343D2F for ; Wed, 4 Feb 2004 12:12:12 -0800 (PST) (envelope-from subscr@poecilotheria.netmails.net) Received: (qmail 23221 invoked by uid 1012); 4 Feb 2004 20:12:11 -0000 Date: Wed, 4 Feb 2004 14:12:11 -0600 From: Hari Bhaskaran To: freebsd-questions@freebsd.org Message-ID: <20040204201211.GA22582@poecilotheria.netmails.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: How to get ptys (devfs) inside jail for FreeBSD 5.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 20:12:14 -0000 Hi, What do I use instead of MAKEDEV (for jail) in FreeBSD 5.2? I am getting "openpty: No such file or directory" in the sshd's auth.log and "Server refused to allocate pty" in the ssh client when I try to ssh-in to the jail. So far the only response I have seen on the net is by Clement Laforet who suggests mounting mount_devfs devfs ${JAIL_ROOT}/dev See: http://lists.freebsd.org/pipermail/freebsd-questions/2003-August/014836.html Is this secure? Is there any other way? Any help is appreciated -- Hari Bhaskaran