sshd udev & pty...

Nathanael D. Noblet nathanael at gnat.ca
Tue Nov 15 20:47:03 UTC 2005


On Tue, 2005-11-15 at 20:18 +0000, Mike Frysinger wrote:
> On Tue, Nov 15, 2005 at 12:04:30PM -0800, Nathanael D. Noblet wrote:
> >    I have a buildroot created filesystem. Most everything works great,
> > however when I try to ssh into the machine I get the password prompt but
> > when it attempts to open a pty (which I don't know what that is really)
> > it fails with the message:
> > error: openpty: No such file or directory
> > error: session_pty_req: session 0 alloc failed
> > 
> > Now I have my dev using udev. I have /dev/pts mounted and it has the
> > same 0-5 entries that my development machine has. It has a bunch of
> > other /dev/pty... things. What is it missing? I did a strings on sshd to
> > see if it was a hard coded dev entry, which it isn't. 
> 
> when you say you have /dev/pts mounted, do you mean you have the 'devpts'
> filesystem mounted on /dev/pts ?
> mount -t devpts devpts /dev/pts

mount:
/dev/hda6 on / type ext3 (rw,data=ordered)
/proc on /prco type proc (rw,nodiratime)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/tmp type tmpfs (rw)
/sys on /dev type ramfs (rw)

ls -l /dev/ptmx
crw-rw-rw 1 root tty 5, 2 Nov 15 05:32 /dev/ptmx

Missing anything else?


> 
> you should also check to see if you have /dev/ptmx ...
> -mike
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> 
> !DSPAM:437a45b9287871415641132!
> 
> 
-- 
Nathanael D. Noblet
Gnat Solutions
http://www.gnat.ca/
T 250.385.4613
C 250.893.4613




More information about the uClibc mailing list