×
×

FAQ & Downloads

Die Datenbank enthält von unserem Team erstellte Dokumentationen. Bitte wählen Sie eine Kategorie aus oder suchen Sie nach Antworten.

Articles

PTY allocation request failed on channel 0

You may encounter this message when trying to connect with SSH to your VPS.
This can be caused by failed start of udev.  Connection tries with 'ssh -T' go just a bit further past the error message still leaving you without working shell.
If you have problems correcting udev and want fast access via SSH you may do the following.

Add the following to /etc/rc.local:
rm -rf /dev/ptmx
mknod /dev/ptmx c 5 2
chmod 666 /dev/ptmx
umount /dev/pts
rm -rf /dev/pts
mkdir /dev/pts
mount /dev/pts
#/etc/init.d/sshd restart

Add to /etc/fstab the line:
none            /dev/pts      devpts    defaults        0   0

Reboot the system.

This problem was originally encountered in a bit different context when booting Centos 6 SolusVM template with node0 kernel.
After switching to PyGrub that uses the kernel provided within the template (2.6.32-71.29.1.el6.x86_64) the problem is gone.


Powered by HostBill