VMware Cloud Community
ravirajukrishna
Contributor
Contributor

Pty allocation request failed on channel 0

The image attached shows two scenarios one in which ssh access to hypervisor is granted another which says

PTY allocation request failed on channel 0

shell request failed on channel 0

When i reboot the hypervisor server,things work fine.But some point of time i again face the same issue.How to go about it

I tried using ssh -T option to login ,which allowed me to login but it did not give me # prompt .

Any replies please do send me to ravirajuk.raju@gmail.com

Reply
0 Kudos
2 Replies
goueg83460
Contributor
Contributor

Hi, I had exactly the same problem. Have you found a solution ? Reboot fix the problem but some times after reboot I get again the error.

Thanks in advance.

Reply
0 Kudos
Virtualinfra
Commander
Commander

This happen when the directory for pty is not created under /dev/pty

It was fixed like this.

mkdir /dev/pts
mount /dev/pts

Also refer the below link for more info and idea on it.

http://forums.quantact.com/viewtopic.php?f=35&t=1149

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0
Reply
0 Kudos