When I tried to ssh to a new CentOS guest domain, it said:
“Server refused to allocate pty”
It's not kernel problem because the kernel has pty support compiled in
The problem is lack of mountpoint defined in fstab. Just add this line to /etc/fstab:
none /dev/pts devpts gid=5,mode=620 0 0
Problem solved.