LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   PTY allocation request failed on channel 0 (https://www.linuxquestions.org/questions/linux-server-73/pty-allocation-request-failed-on-channel-0-a-676673/)

nice88 10-15-2008 11:35 PM

PTY allocation request failed on channel 0
 
Hello I am getting that error always users try to connect using ssh

PTY allocation request failed on channel 0

After reboot the machine all works fine for a while, after some minutes, the same error.

I am using: /usr/sbin/sshd

jagdishpsp 10-15-2008 11:40 PM

restart the sshd service & check.

Jagdish

nice88 10-16-2008 11:12 PM

:)
 
I did it a lot of times, it works only when I reboot the machine, but after some minutes, maybe an hour, happens again

ajwans 01-21-2009 06:13 AM

Quote:

Originally Posted by nice88 (Post 3312960)
I did it a lot of times, it works only when I reboot the machine, but after some minutes, maybe an hour, happens again

When I had this problem I fixed it like this:

mkdir /dev/pts
mount /dev/pts

tdoyle 12-14-2010 05:44 PM

This usually occurs because /etc/fstab doesnt have the /dev/pts filesystem mounted.

This post shows the options to put in your fstab to fix the issue:
http://forums.quantact.com/viewtopic.php?f=35&t=1149


All times are GMT -5. The time now is 01:15 AM.