[Fwd: 1.5.11-1: sftp performance problem]

Bob Byrnes byrnes@curl.com
Sun Sep 12 19:53:00 GMT 2004

> But native apps are not our first concern ...

OK, but native apps are a big concern for us (and perhaps others).
We use ...

    ssh build-server-running-cygwin "make everything" > log-file

... and the Makefiles run lots of win32 native build tools.

> ...  and the above can also easily be done with
> ssh -t cygwin-system-with-sshd-using-sockpairs "win32-native-command"

Allocating a pty does change the behavior of some programs, like ls.
People (or scripts) might be surprised by the behavior of ...

  ssh -t cygwin-system ls | grep whatever

... because ls is going to do multi-column output.

Also, I wonder about the performance impact of allocating a pty.
Probably minimal compared to the ssh authentication stuff, but
it would be nice to avoid the extra mechanism when it's not needed.


More information about the Cygwin-patches mailing list