delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/20/11:25:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:cc:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=r6iJFvrMYRiV2E+1
rZKBNbR1uOM5/ragN5Dh3HTpsLw9BVWOF5ZzBgtDDbUREb4++H07sBxLwVrWJ6NV
TKEY9iSgJjWChis4jopsMnROxyrIJ+lj7VulWMwbmsIEJ2YbPf8gM0BoZQT0fU54
NRh4wnZpyRdoJnsQN7eti1aUBF4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:cc:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=/oVOl1+UQXP0AEiCD1Xao4
V/X+k=; b=JDpiDmtsvvBFD2aHk1irD7Sw7GsEQhIXtf5Q0/lg83m1Ea7xM658Ty
M604OUD/PFlbSq7vfEwJ8uk1MeqPjZjABgz9KR+2LyfyUs8TpelYKtnYtXG6mBdC
WOBIE8WiZSnewF63nlpAI0DOSQKkpIdqXOq9Mb09wR2GT4LvxCCOE=
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
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.2
Message-id: <52138A66.3050406@cygwin.com>
Date: Tue, 20 Aug 2013 11:25:26 -0400
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:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Cc: t DOT glaser AT tarent DOT de, s DOT gerhards AT tarent DOT de
Subject: Re: cygwin sshd dumping stack trace when not allocating pseudo-tty
References: <alpine DOT DEB DOT 2 DOT 10 DOT 1308191353590 DOT 23189 AT tglase DOT lan DOT tarent DOT de> <52123502 DOT 6070301 AT cygwin DOT com> <alpine DOT DEB DOT 2 DOT 10 DOT 1308201021500 DOT 6396 AT tglase DOT lan DOT tarent DOT de>
In-reply-to: <alpine.DEB.2.10.1308201021500.6396@tglase.lan.tarent.de>

On 8/20/2013 4:32 AM, Thorsten Glaser wrote:
> On Mon, 19 Aug 2013, Larry Hall (Cygwin) wrote:
>
>> and to understand the method you're using to login.
>
> SSH public-key auth, that is, RSA keys. (This is a requirement
> because the process will run as batch job so we cannot use any
> interactive auth method.)

Understood but method 2 and 3 allow for this as well.  They use a
very different way of "getting there".  One of these two methods
could work for you.

> Funnily enough, when I disable my SSH key and log in using a
> password, not allocating a pseudo-tty works.
>
>> We need your cygcheck output
>
> stderr is:
>
> tglase AT sbkgate-ts:~$ cygcheck -s -v -r > cygcheck.out
> "\\dc\tglase"
> CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet.
> UNC-Pfade werden nicht unterst?tzt.
> Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.
> "\\dc\tglase"

It's telling you that cmd.exe doesn't understand UNC paths.  And that
actually gives me an idea.  Can you create a local home directory
and run ssh-user-config again to see if that helps?  If so, you can
either continue to use this configuration or try method 3.

Other things I noted:

   1. You're running cygwin 1.7.9.  The current version is 1.7.24.  You
      should upgrade.

   2. Your CYGWIN environment variable contains "sshd".  You should
      remove this.

   3. You have an orphaned installation at the level of your C drive.
      If you have not already, you should remove this installation.


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