From owner-freebsd-questions@freebsd.org Thu Nov 5 01:41:51 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B76CA25F53 for ; Thu, 5 Nov 2015 01:41:51 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F2AF161A; Thu, 5 Nov 2015 01:41:51 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=cLOfs9U9KD3RxU0pRdBv6QtMar7Oj0yIfC4IGamNcQg=; b=cPZDhz0CYQefgpTz1nKPtxsJAL beh03Ki6M06SY/pcusCw4jVlPRAcZdsd2R6c4QxCpdbSR91setkyWlaPr2XKiVZKp0R+2tXHqFKhQ oCrm8oLYaxJHl2j6rgytXVb1Nhv3fDcJqtfLJIIM/kORzUVY4HLsAM4VR6DM3SwV7BMM=; Received: from [114.124.32.104] (port=19509 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1Zu9Ye-001iDD-Fc; Wed, 04 Nov 2015 18:41:45 -0700 Date: Thu, 5 Nov 2015 09:41:39 +0800 From: Erich Dollansky To: Matthew Seaman Cc: freebsd-questions@freebsd.org Subject: Re: ssh configuration, nmisunderstanding or error Message-ID: <20151105094139.285c026d@X220.alogt.com> In-Reply-To: <5639DFB4.2020006@FreeBSD.org> References: <20151104171454.5687fed4@X220.alogt.com> <20151104173313.34de5aa2@X220.alogt.com> <5639DFB4.2020006@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 01:41:51 -0000 Hi, On Wed, 4 Nov 2015 10:36:36 +0000 Matthew Seaman wrote: > On 2015/11/04 09:33, Erich Dollansky wrote: > > Yes, there are just there to get an error message depending on the > > file being read. How can ssh get the error message which is > > supposed to come from outside the jail? > > > > I still believe that I have some very strange error in the setup > > but I am not able to see it. > > sshd in the host system binding to all interfaces (which is the > default) will block sshd in the jail from binding to the jail's IP. > In fact, it will probably cause sshd to fail to start in the jail. > You should have something in your syslog in the jail if that is the > case. > I really mixed up inside with outside. > Make the sshd in your host system bind to specific IP numbers using > the 'ListenAddress' parameter. This I do anyway. Thanks. Erich