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.

Revisions

  1. nikosd renamed this gist Dec 7, 2009. 1 changed file with 0 additions and 0 deletions.
  2. @invalid-email-address Anonymous created this gist Dec 7, 2009.
    11 changes: 11 additions & 0 deletions PTY allocation request failed on channel 0 temp solution.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    # 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