fix(ssh): only request TTY if a terminal is connected
Merge pull request #378 from jonboulle/punch_self_in_face

fix(ssh): only request TTY if a terminal is connected