From owner-freebsd-questions@FreeBSD.ORG Fri Jan 12 19:42:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42CD716A504 for ; Fri, 12 Jan 2007 19:42:12 +0000 (UTC) (envelope-from gregoryba@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id D101F13C458 for ; Fri, 12 Jan 2007 19:42:09 +0000 (UTC) (envelope-from gregoryba@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1288535nfc for ; Fri, 12 Jan 2007 11:42:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fOuOWjyaIKYZR8ttcAWY49le/kzLyNcSiSiyMVmiLQT2l8RClA3f+H8++QAj5dgVdeIypFrLQJod3xy1rg0w4gotZIrs+Tir8kKYhgGC4m8oNPAEiD7xByLqOYH+Oqnlv8jsrSQf8MKrUfhcjykpUbdK2wdFuMNipHdZ/ZWfInE= Received: by 10.48.48.1 with SMTP id v1mr986137nfv.1168630928247; Fri, 12 Jan 2007 11:42:08 -0800 (PST) Received: by 10.48.223.12 with HTTP; Fri, 12 Jan 2007 11:42:07 -0800 (PST) Message-ID: <39ed86f90701121142j3594e180t5a04f01993299809@mail.gmail.com> Date: Fri, 12 Jan 2007 11:42:07 -0800 From: "Greg Albrecht" To: "Andras GELANYI" In-Reply-To: <45A7D598.2060405@gelanyi.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45A7D598.2060405@gelanyi.hu> Cc: freebsd-questions@freebsd.org Subject: Re: SSH connection from within a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 19:42:12 -0000 are you using the default /etc/ssh/sshd_config? i'm currently running jails with ssh and don't recall having this problem. the only thing i remember explicitly having to do is tell sshd to bind to the jail's IP. -g On 12/01/07, Andras GELANYI wrote: > Do you know how can I initaite a SSH connection from within a jail? > > I always get the "Host key verification failed." message. Starting the > ssh session with -v it seems that the problem is with tty allocation. > debug1: read_passphrase: can't open /dev/tty: Device busy > > The jail has devfs mounted with the default ruleset. (As seen in > /usr/share/examples/etc/defaults/devfs.rules) > > Andras > > > -- Greg Albrecht (gregoryba@gmail.com) An Indie, Hip Hop and IDM Podcast: The Letter G http://theletterg.org