Can’t access my VPS via ssh ??

This was the errors message:

PTY allocation request failed on channel 0

Searching around on the internet I found that there is a device ptmx that might be missing with this error message. SO I did the following:

[root]# ls -l /dev/ptmx
ls: /dev/ptmx: No such file or directory

So is that the problem? hmm, I recreated the device:


[root]# /sbin/MAKEDEV -d /dev ptmx

and restarted sshd and Now everything works again!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: