Server refused to allocate pty (FIX)

Ethan [email protected]
Mon Aug 30 05:12:19 2004


I ran into this issue, so here are my notes to save others time.

Rolling a custom embedded setup on a CF card (6mb so far with libusb +
gphoto2!).

SSH'ing in generates "Server refused to allocate pty"

Problem was lack of mountpoint defined in fstab.... Kernel had pty support
(it worked), but mising mountpoint caused error:

For FSTAB:
    none            /dev/pts        devpts        gid=5,mode=620    0 0

/dev/ptmx, pts files and pts directory required (already existed in my
case).

Now my issue is passwords are being ignored... build tinylogin to ignore
the glibc name resolution stuff, but login allows root in with no
password. Same with busybox, so it's something system wide. Hash exists in
/etc/shadow.




--
                               // Ethan O'Toole
                               // http://users.757.org/~ethan