After we receive EOF on stdin, we should clear ssh->send_ok so that
[u/mdw/putty] / contrib /
drwxr-xr-x   ..
-rwxr-xr-x 5318 kh2reg.py