In CentOS 6.5, yum install zssh, but when I execute zssh, it gives an error showing: out of pty's.

What does this mean? How to solve this?

share|improve this question

You can see the list of used ptys with

ls /dev/pts

The maximum number of ptys is given by

cat /proc/sys/kernel/pty/max

That value can be configured in

/etc/sysctl.conf

(see man pty)

Note that some versions of the kernel were buggy.

The ptys, or pseudo terminals are the 'channels' through which a process interacts with the user console (keyboard and screen)

share|improve this answer
    
the kernel is 2.6.32-431.17.1, /dev/pts/ has only 9 files, /proc/sys/kernal/pty/max is 4096. is this buggy? – fatmck Aug 5 '14 at 15:30

There seems to be some weird library mismatch bug that cropps up in some binary distributions. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769366. Has not been tracked down, but a simple recompile seems to be a workaround.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.