From owner-freebsd-questions@freebsd.org Wed Nov 4 10:26:00 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 4A4E2A26315 for ; Wed, 4 Nov 2015 10:26:00 +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 243A91A9D for ; Wed, 4 Nov 2015 10:25:59 +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=OZRtrXK5YhJhzQRxZaNiikydPnc9dY0FU9SVRJivmcE=; b=MgexSSI2TQVWVsScIYjp0y7V8n 9jf5Me4Cz2ejs7PtIVH6KslwMCXCKWj4uQut4g4VfwAUnr6G0OvDC5rwJYR2pOecBgDye/gd8seo+ 8EvfCFmD9hN7+kwYjuxG+ojvgN0ZGkIfxFdtEHQ05Xrh5R/h/RoWaxXJjrwcXYy6P99g=; Received: from [114.121.134.2] (port=30901 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 1ZtvGQ-0039I8-FP; Wed, 04 Nov 2015 03:25:59 -0700 Date: Wed, 4 Nov 2015 18:25:52 +0800 From: Erich Dollansky To: Olivier Nicole Cc: freebsd-questions@freebsd.org Subject: Re: ssh configuration, nmisunderstanding or error Message-ID: <20151104182552.34390b41@X220.alogt.com> In-Reply-To: References: <20151104173313.34de5aa2@X220.alogt.com> 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: Wed, 04 Nov 2015 10:26:00 -0000 Hi, On Wed, 04 Nov 2015 16:51:07 +0700 Olivier Nicole wrote: > > I got irritated by the behaviour of the jail. After forcing sshd to > > responed with an error message, it got clear to me that the wrong > > configuration file is read. > > I see now. > > ssh_config belongs to ssh client! So the ssh_config file in use > depends on what system you use for client. > > If your ssh_config file is wrong, you may connect to any IP address, > inside or outside the jail, you will always get the same error message > on your client. > thanks, we have the saying that you cannot see the jungle as there are so many trees in the way ... Erich