From owner-freebsd-questions@FreeBSD.ORG Sat Jul 22 00:31:50 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 F37E816A4DE for ; Sat, 22 Jul 2006 00:31:49 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1E3C43D77 for ; Sat, 22 Jul 2006 00:31:43 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1G45PC-0008qs-Vi; Fri, 21 Jul 2006 18:31:43 -0600 In-Reply-To: <44C1611B.3020709@blauefee.de> References: <44C1611B.3020709@blauefee.de> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Fri, 21 Jul 2006 18:31:42 -0600 To: S. Wagler X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: FreeBSD Questions Subject: Re: problem to establish SSH connection from inside jail to the outside world 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: Sat, 22 Jul 2006 00:31:50 -0000 On Jul 21, 2006, at 5:19 PM, S. Wagler wrote: > Hi, > > I'm currently using FreeBSD 6.1-RELEASE with a bunch of jails. In > one of them I need to connect to the outside world via SSH which > does not work properly. > > When logging in to (!) the jail via SSH, everything works properly: > I can connect from "inside" the jail to the outside via SSH, but > when running a script from inside the jail via cron or in my case > daemontools and not being logged into that jail, I get the > following error while using a SSH syntax like "ssh -T -vv ...": > > ... > read_passphrase: can't open /dev/tty: No such file or directory > ... > > Is there any solution for that kind of problem? "/dev/tty" is not > existing at all, which I think should not a problem under FreeBSD > 6.x at all. Do you have devfs mounted in your jails? I have no problem with ssh from my jails to the outside world on 6.x Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net