From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 21:19:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0BD016A415 for ; Wed, 17 Jan 2007 21:19:25 +0000 (UTC) (envelope-from andras@gelanyi.hu) Received: from mail.info2k1.hu (info2k1.hu [193.202.88.78]) by mx1.freebsd.org (Postfix) with ESMTP id 7DED413C45D for ; Wed, 17 Jan 2007 21:19:23 +0000 (UTC) (envelope-from andras@gelanyi.hu) Received: from catv-50629158.catv.broadband.hu ([80.98.145.88] helo=[192.168.1.3]) by mail.info2k1.hu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1H7IBA-000PHN-Je; Wed, 17 Jan 2007 22:18:53 +0100 Message-ID: <45AE92CF.6060406@gelanyi.hu> Date: Wed, 17 Jan 2007 22:19:11 +0100 From: Andras GELANYI User-Agent: Thunderbird 2.0b1 (Windows/20061206) MIME-Version: 1.0 To: Greg Albrecht References: <45A7D598.2060405@gelanyi.hu> <39ed86f90701121142j3594e180t5a04f01993299809@mail.gmail.com> In-Reply-To: <39ed86f90701121142j3594e180t5a04f01993299809@mail.gmail.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040800050404040300020108" X-Spam-Score: -4.1 (----) Cc: freebsd-questions@freebsd.org Subject: Re: SSH connection from within a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 21:19:26 -0000 This is a cryptographically signed message in MIME format. --------------ms040800050404040300020108 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit the solution and a brief discussion can be seen here in case you are interested: http://lists.freebsd.org/pipermail/freebsd-hackers/2005-November/014450.html andras Greg Albrecht wrote: > are you using the default /etc/ssh/sshd_config? i'm currently running > jails with ssh and don't recall having this problem. the only thing i > remember explicitly having to do is tell sshd to bind to the jail's > IP. > > -g > > On 12/01/07, Andras GELANYI wrote: >> Do you know how can I initaite a SSH connection from within a jail? >> >> I always get the "Host key verification failed." message. Starting the >> ssh session with -v it seems that the problem is with tty allocation. >> debug1: read_passphrase: can't open /dev/tty: Device busy >> >> The jail has devfs mounted with the default ruleset. (As seen in >> /usr/share/examples/etc/defaults/devfs.rules) >> >> Andras >> >> >> > > --------------ms040800050404040300020108 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJiTCC Ax8wggKIoAMCAQICEEl1PeQE/ft3QHl3rZqUnxowDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MTAxMDAwNTM0MFoX DTA3MTAxMDAwNTM0MFowYjERMA8GA1UEBAwIR2Vsw6FueWkxEDAOBgNVBCoMB0FuZHLDoXMx GTAXBgNVBAMMEEFuZHLDoXMgR2Vsw6FueWkxIDAeBgkqhkiG9w0BCQEWEWFuZHJhc0BnZWxh bnlpLmh1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvrwWZJKtIPbeJRwwX342 lqK1rz1b6uhmXhJXzobfxGsdVY+F6wArY/uKlw4V/QpQ9DqiDMIR/tGEVIoeHGfh2c3hez7o cReQ6AD5ZwdZbHiwc95XHei5ceHg+YqGX7fQB8Nt3DZiH3ffnu8JvxoEAJJFNC98P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