PTY allocation error
After a free upgrade to my linode I now get this error and can't ssh into my Linode:
PTY allocation request failed on channel 0
stdin: is not a tty
Any recommendations?
1 Reply
Hey there,
We've had others encounter this issue as well. We found a solution that helped most of them.
We recommend that you unmount and mount /dev/pts using the following:
$ umount /dev/pts
$ mount devpts /dev/pts -t devpts
If you’re currently unable to connect through SSH, you can use our LISH Console to login to your server and run these commands. You can learn more about LISH by reading this guide:
https://www.linode.com/docs/networking/using-the-linode-shell-lish/
The following stack overflow thread discusses this issue and lists a few other solutions as well:
https://stackoverflow.com/questions/27021641/how-to-fix-request-failed-on-channel-0
If that doesn't work, please send us the output of the following command from your local host for us to review:
$ ssh -t -vv $user@$IP
We hope this helps!