Created
November 29, 2017 21:53
-
-
Save pbkwee/30bcd344906ca4106f2d241e2cab44e1 to your computer and use it in GitHub Desktop.
PTY allocation request failed on channel 0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Older distro (e.g. lenny) and newer kernel may result in this when ssh-ing in: | |
PTY allocation request failed on channel 0 | |
You can run ssh $serverip 'bash -i' to get one off access. | |
You can 'fix' things with: | |
ssh $server 'echo "none /dev/pts devpts gid=5,mode=620 0 0" >> /etc/fstab; mount /dev/pts; cat /etc/fstab' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment