Skip to content

Instantly share code, notes, and snippets.

@nikosd
Created December 7, 2009 18:52
Show Gist options
  • Save nikosd/251010 to your computer and use it in GitHub Desktop.
Save nikosd/251010 to your computer and use it in GitHub Desktop.
# override the ssh problem with this:
ssh user@host "/bin/bash -i"
# now fix the issue
rm -rf /dev/ptmx
mknod /dev/ptmx c 5 2
chmod 666 /dev/ptmx
umount /dev/pts
rm -rf /dev/pts
mkdir /dev/pts
mount /dev/pts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment