From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 13 20:25:56 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA6E316A41F for ; Sun, 13 Nov 2005 20:25:56 +0000 (GMT) (envelope-from SRS0=pW+Q+mi7=ZM=metro.cx=fbsd@sonologic.nl) Received: from mx1.sonologic.nl (mx1.sonologic.nl [82.94.245.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38FE943D4C for ; Sun, 13 Nov 2005 20:25:55 +0000 (GMT) (envelope-from SRS0=pW+Q+mi7=ZM=metro.cx=fbsd@sonologic.nl) Received: from [10.1.4.2] (sonolo.xs4all.nl [80.126.206.91]) (authenticated bits=0) by mx1.sonologic.nl (8.13.3/8.13.3) with ESMTP id jADKPnhk062011; Sun, 13 Nov 2005 20:25:50 GMT Message-ID: <4377A15D.7060100@metro.cx> Date: Sun, 13 Nov 2005 21:26:05 +0100 From: Koen Martens Organization: Sonologic User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Koen Martens References: <20051112121343.94908.qmail@web60322.mail.yahoo.com> <43766A0A.9060105@metro.cx> In-Reply-To: <43766A0A.9060105@metro.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Helo-Milter-Authen: gmc@sonologic.nl, fbsd@metro.cx, mx1 Received-SPF: pass (mx1.sonologic.nl: 80.126.206.91 is authenticated by a trusted mechanism) Cc: freebsd-hackers@freebsd.org, d c Subject: Re: SSH From within a Jail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 20:25:57 -0000 Koen Martens wrote: > d c wrote: > >>Greetings: >> >>I currently am running Freebsd 6.0 Release. >> >>I am experimenting with jails and have run into a >>problem. I need to ssh from within my jail to another >>server. Actually I need to use scp. WHen I try it I >>get the error: "Host key verification failed." > > > This could also be something related to permissions on the .ssh > directory, but you cleared that out of the way if i understand the > rest of this thread correctly. I remember having this problem once, > but can't remember right now what i did to solve it.. I usually > compile openssh from source anyway, so you might try that. If that > works, it would probably be interesting to see what is the > difference between your own hand-rolled openssh and the one that > came with your world. Just remembered something else: do you jexec into the jail, or do you do a proper logon (eg. ssh into the jail). I think that if you jexec into the jail and then try to ssh, you might have a problem because you aren't really logged in to the jail and thus have no (psuedo) tty associated with your session.. Koen -- K.F.J. Martens, Sonologic, http://www.sonologic.nl/ Networking, hosting, embedded systems, unix, artificial intelligence. Public PGP key: http://www.metro.cx/pubkey-gmc.asc Wondering about the funny attachment your mail program can't read? Visit http://www.openpgp.org/