delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/21/20:26:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.8 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4EF28709.8000208@cygwin.com>
Date: Wed, 21 Dec 2011 20:25:29 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sftp-server -h succeeds on cmd, fails on mintty
References: <4EF28545 DOT 4090901 AT shaddybaddah DOT name>
In-reply-to: <4EF28545.4090901@shaddybaddah.name>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 12/21/2011 8:17 PM, Shaddy Baddah wrote:
> 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

This works fine for me from mintty.  Just a shot in the dark but can
you try it with a local user?  How about a local user that's part of
the local Administrators group?


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019