From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NHNOk-0007rS-Kz for garchives@archives.gentoo.org; Sun, 06 Dec 2009 20:08:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3ACD3E0908 for ; Sun, 6 Dec 2009 20:08:02 +0000 (UTC) Received: from mail-iw0-f201.google.com (mail-iw0-f201.google.com [209.85.223.201]) by pigeon.gentoo.org (Postfix) with ESMTP id 4F61AE066E for ; Sun, 6 Dec 2009 18:56:07 +0000 (UTC) Received: by iwn39 with SMTP id 39so2349798iwn.32 for ; Sun, 06 Dec 2009 10:56:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=W3qaAiR9N0Gk627PV9Vh7Ucv4dzva7IwmNsL6O0kquU=; b=yGFbLOcEH0HIQcHlCQ7PWpkUW6pNDOqXHhrLuJjbMKz5PAmv2CD8uQOQ2g1mljk7jZ 5xtgkjB6gMY5/LzqIuduenO2+LuKdaAP6J5F34lxSQcD1KHJEICm+i7rjRXD2vzpdVxG itAmfGPr/uxRQEc+TzZGBWrwNQ1xEbyHCrWiw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=BOUxwUBJpVE4YYPPY7d7zqofgJattzkCFsfX/0IlcgbDgfbZKIIDAa2pilJ4Bq4hif +LZ1R/udt6pcStlUsdPJ7oOiE993dTh3B49kHZIIaKyYjh8Rw2LUq/S4iqLAydi86Qmb IUW1QE5DU9EVwGz9UJM+XsK6fIj9IFrigQn3g= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.10.23 with SMTP id n23mr2794953ibn.4.1260125767028; Sun, 06 Dec 2009 10:56:07 -0800 (PST) In-Reply-To: <4B1BE2D4.3090001@f_philipp.fastmail.net> References: <20091206144836.GA2599@muc.de> <4B1BE2D4.3090001@f_philipp.fastmail.net> Date: Sun, 6 Dec 2009 13:56:06 -0500 Message-ID: Subject: Re: [gentoo-user] Problems setting up sshd on an installation kernel From: Joshua Murphy To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: eef41ecd-a590-4f1d-9a58-a396cfdee676 X-Archives-Hash: 55e1b34ad4c1c0fa5901f9a30235abc9 On Sun, Dec 6, 2009 at 11:59 AM, Florian Philipp wrote: > Alan Mackenzie schrieb: >> Hi, folks! >> >> I'm trying to get sshd working on an embryonic Gentoo installation on my >> laptop. =C2=A0The reason is that I want to ssh from my nice comfy deskto= p >> system into this laptop to do the rest of the installation stuff. >> >> The installation kernel with which I'm having problems is: >> Linux livecd 2.6.30-gentoo-r8 #1 SMP Tue Nov 3 11:40:51 UTC 2009. >> >> Having started sshd on my laptop, when I do >> >> =C2=A0 =C2=A0 ssh -lroot 192.168.2.101 >> >> from my desktop, I get prompted for my ssh key's pass phrase, which I >> enter. =C2=A0Thereafter, nothing happens, and it continues to happen for= a >> long, long time. >> > [...] >> >> Clearly openpty (a C function) is failing to find some file. =C2=A0Don't= you >> just love error messages like "No such file or directory" which forget >> to identify the filename? =C2=A0I'm guessing that the file it can't find= is >> the device file for the new pty. >> >> Is there anything I can do to get sshd working from this kernel (and if >> so, what?), or is there something fundamentally wrong with the kernel >> configuration? >> > > Where did you start sshd, in the chrooted environment or on the live cd > itself? My first thought as well... I'd guess, just at a glance, that sshd was started in the chroot, and that /mnt/gentoo/dev/ is bind mounted properly, but /mnt/gentoo/dev/pts/ isn't. --=20 Poison [BLX] Joshua M. Murphy