From owner-freebsd-questions@freebsd.org Wed Nov 4 09:51:12 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 A0331A25B14 for ; Wed, 4 Nov 2015 09:51:12 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (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 310E81B65 for ; Wed, 4 Nov 2015 09:51:12 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 1BFFBD7883; Wed, 4 Nov 2015 16:51:09 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:received:received :received; s=selector1; t=1446630668; x=1448445069; bh=6c/U8VSIF ez7cfmjBCfsqc3McB5Nzv9YroJyMQ4ByD4=; b=XQ+PuGIa25u3x3VLYCyZlMPqW cTUJaJLn7ShhP0cCGWEyEzs8lb4thCsQdsTDLryHBk2saXaNwZRHaKKLodVZKqRz 5yXKGyCq3tApOzWUkS22N0vmoHeclEt1mJusAZ+wUJo8A9jACGJF+Ak90imG1dU5 mRYPP/fLSJByDMMZr4= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Mw44a7QJpwsW; Wed, 4 Nov 2015 16:51:08 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 07975D7882; Wed, 4 Nov 2015 16:51:07 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id tA49p7ah066390; Wed, 4 Nov 2015 16:51:07 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier Nicole To: Erich Dollansky Cc: freebsd-questions@freebsd.org Subject: Re: ssh configuration, nmisunderstanding or error In-Reply-To: <20151104173313.34de5aa2@X220.alogt.com> (message from Erich Dollansky on Wed, 4 Nov 2015 17:33:13 +0800) Date: Wed, 04 Nov 2015 16:51:07 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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:51:12 -0000 Eric, > 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. Olivier >> >> main (or firefox) are bare words at the begining of a line and I think >> they are not a valid ssh_config syntax. > > 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. > > Every thing on the new disk is simply a copy from the old disk with the > exception of fstab. So, I expected that the machine will now behave > just as if the old disk would be there. All is as expected outside the > jails. > > Erich > --