If you lost connectivity to your VPS through SSH after upgrading CentOS 5 this is due to udev not creating the appropiate device nodes in your system.
Please contact us so we can fix this problem for you. These are the steps that need to be completed in order to fix the problem:
vzctl exec VEID /sbin/MAKEDEV pty
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID
To Fix this issue permanently:
1. Edit the file /etc/rc.sysinit of the VPS server
2. Comment the line
#/sbin/start_udev
3. Add the following lines after /sbin/start_udev:
/sbin/MAKEDEV tty
/sbin/MAKEDEV pty
4. Reboot your VPS