2ef025c09a
Dup the pty to STDIN to prevent hour the exec'ed ssh from consuming our early input. Due to the fact that mosh-server copies the pty settings from the pty it as when starting, we can't set that one to a raw. This are probably a combination of effects cased byfcc629acand18dc967c. This probably fixes #366 [Closes #369]