Hi, Florian,

On Sun, Dec 06, 2009 at 05:59:00PM +0100, Florian Philipp wrote:
> Alan Mackenzie schrieb:

> > I'm trying to get sshd working on an embryonic Gentoo installation on
> > my laptop.  The reason is that I want to ssh from my nice comfy
> > desktop 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

> >     ssh -lroot 192.168.2.101

> > from my desktop, I get prompted for my ssh key's pass phrase, which I
> > enter.  Thereafter, nothing happens, and it continues to happen for a
> > long, long time.

> [...]

> > Clearly openpty (a C function) is failing to find some file.  Don't
> > you just love error messages like "No such file or directory" which
> > forget to identify the filename?  I'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?

In the chrooted environment.  When I start it directly in the live cd
session, it seems to work just fine.

When it works (from live cd), it creates a device file /dev/pts/0 in
(presumably) the installation ram disk.  When it doesn't work (from
chrooted environment) it fails to create /dev/pts/0, even though /dev/pts
exists inside the chrooted root filesystem.

-- 
Alan Mackenzie (Nuremberg, Germany).

Reply via email to