After we receive EOF on stdin, we should clear ssh->send_ok so that