From owner-freebsd-questions@freebsd.org Wed Nov 4 09:15:01 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 1F8DEA253EA for ; Wed, 4 Nov 2015 09:15:01 +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 F1F3D1926 for ; Wed, 4 Nov 2015 09:15:00 +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=PJp3jGU1CShxE9GaDr5dlaldJD3SIAU7u82RqTCZWQ0=; b=iCcKbwFJdeOmhqiZ2uPFz+Owh8 mAHoBKVD/bkGZdPR6wbka5Pti5ErsQ8+Nxr8OJcqx+TfLWe8yeUdH/qhlOgWVX5LfAFhL+1/sSz9L 4GcCHojDe6FBsvzhkTKJG6A+46jRr7pCxj7qVFQggtMVNJm09eSruLn4Owx0cUUf5mNs=; Received: from [114.121.134.2] (port=50374 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 1Ztu9j-002LAn-E0; Wed, 04 Nov 2015 02:15:00 -0700 Date: Wed, 4 Nov 2015 17:14:54 +0800 From: Erich Dollansky To: Olivier Nicole Cc: freebsd-questions@freebsd.org Subject: Re: ssh configuration, nmisunderstanding or error Message-ID: <20151104171454.5687fed4@X220.alogt.com> In-Reply-To: References: <20151104151706.178faf7b@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 09:15:01 -0000 Hi, On Wed, 04 Nov 2015 14:31:02 +0700 Olivier Nicole wrote: > Erich Dollansky writes: > > > [erich@X220]/home/erich > ssh -vvv erich@192.168.0.223 > > OpenSSH_6.6.1p1, OpenSSL 1.0.1p-freebsd 9 Jul 2015 > > debug1: Reading configuration data /etc/ssh/ssh_config > > debug1: /etc/ssh/ssh_config line 43: Applying options for * > > /etc/ssh/ssh_config: line 45: Bad configuration option: main > > /etc/ssh/ssh_config: terminating, 1 bad configuration options > > It would help if you provided the contents of /etc/ssh/ssh_config I forgot to mention that all was commented out with these to exception. So, effective the file was either: Host * main ouitside the jail and Host * firefox inside the jail. I just tested again after removed all lines except of above's. I still get the error messages like this: /etc/ssh/ssh_config: line 2: Bad configuration option: main Of course, the line number changed. Erich