This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sftp-server -h succeeds on cmd, fails on mintty


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

Attachment: cygcheck.out
Description: Text document

--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]