sftp-server -h succeeds on cmd, fails on mintty
Shaddy Baddah
lithium-cygwin@shaddybaddah.name
Thu Dec 22 01:18:00 GMT 2011
Hi,
I'm experiencing a wider problem with sftp'ing to/from a Cygwin sshd
service. However as a starting point into debugging, I've identified a
simple failure in the sftp-server that may give an indication into the
wider problem.
When I ran just a simple usage argument to sftp-server in a mintty
session, the command failed:
sbaddah@*********** ~
$ /usr/sbin/sftp-server -h; x=$?; echo $x
127
So I tried from just a regular (non-Administrator) Command Prompt:
c:\Users\Public\portapps\cygwin\bin>..\usr\sbin\sftp-server -h
usage: sftp-server [-ehR] [-f log_facility] [-l log_level] [-u umask]
>From this behaviour, I immediately suspect something to do with tty
I/O functionality. I understand there has been a bit of work in this
area since the 1.7.9 release, and that there is an experimental
1.7.10. However I'd like to avoid swapping in a later version of the
dll, with all its supporting programs, if at all possible.
Can anyone shed some light on why this is happening?
I've attached a cygcheck.out file with some items redacted.
Thanks in advance,
Shaddy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20111222/b9e12875/attachment.ksh>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list