Fixin’ issues one ticket at a time!
pty, ptyp, and tty errors
So I came across this error for the first time today when trying to SSH directly into a clients VPS.
login as: root
root@server’s password:
Server refused to allocate pty
stdin: is not a tty
After a quick google search I came across the fix.
[root@node /]# vzlist -a
VEID NPROC STATUS IP_ADDR HOSTNAME
1337 78 running 69.10.59.80 grumpy.thelinuxnoob.com
[root@node /]# vzctl exec 1337 /sbin/MAKEDEV ptyp
[root@node /]# vzctl exec 1337 /sbin/MAKEDEV tty
[root@node /]# vzctl exec 1337 /sbin/MAKEDEV pty
The issue should now be resolved and you can SSH into the VPS.
| Print article | This entry was posted by Clayton on November 2, 2009 at 12:49 pm, and is filed under Linux, SSH, Tutorial. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |