From owner-freebsd-questions@FreeBSD.ORG Fri Jul 21 23:19:58 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 E693816A4DD for ; Fri, 21 Jul 2006 23:19:58 +0000 (UTC) (envelope-from freebsd-questions-mailinglist-ca3bb-3387-4b54@blauefee.de) Received: from smtp.tuxorama.com (userland3.tuxorama.com [88.198.35.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C37D43D45 for ; Fri, 21 Jul 2006 23:19:58 +0000 (GMT) (envelope-from freebsd-questions-mailinglist-ca3bb-3387-4b54@blauefee.de) Message-ID: <44C1611B.3020709@blauefee.de> Date: Sat, 22 Jul 2006 01:19:55 +0200 From: "S. Wagler" MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Fri, 21 Jul 2006 23:19:59 -0000 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. Any solutions welcome! Thank you very much in advance, S. Wagler