PTY allocation error

Linode Staff

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!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct