sshd unable to allocate pttys

Messages about requested features, contributions, ...
Post Reply
Posts: 9
Joined: 09 Apr 2008, 22:55

sshd unable to allocate pttys

Post by argonavis » 09 Apr 2008, 23:39


Please forgive me if this is not the appropriate forum in which to post. The most recent version of sysresccd (ppc) v0.2.0 doesn't configure the devpts fs in fstab, hence it's not mounted on boot. This causes ssh connections to fail with a "Server refused to allocate pty" error.

This link describes the fix:

I'll include a quick synopsis in the event that the above link dies.

Add the following entry to /etc/fstab :

Code: Select all

none            /dev/pts        devpts        gid=5,mode=620    0 0
If this entry is in /etc/fstab at boot-time, then the devpts fs will be mounted automatically. For the possible benefit of those just finding this thread, if one is working on a live CD without such an entry, such as ppc-0.2.0, one can obviously dispense with the fstab entry and use a manual mount with the following command:

Code: Select all

mount -t devpts -o gid=5,mode=620 none /dev/pts
My thanks to the developers for a fine distro!


Post Reply