centos4.8升级到39内核的时候不能远程ssh
PTY allocation request failed on channel 0 PTY allocation request failed on channel 0 20/02/2009 Yesterday, I was trying to login to my machine and I got the following message: PTY allocation request failed on channel 0 My prompt was stuck and I could not enter commands. This happened because -for some reason- the tty related devices(/dev/ptmx, /dev/pts) were not created or mounted on my machine. In order to get this problem resolved, I created and mounted the missing devices using the following commands: 写进 rc.local 1.rm -rf /dev/ptmx 2.mknod /dev/ptmx c 5 2 3.chmod 666 /dev/ptmx 4.umount