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
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:
The following stack overflow thread discusses this issue and lists a few other solutions as well:
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 [email protected]$IP
We hope this helps!