delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/05/17:59:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-id: <5047CB23.1020306@cygwin.com>
Date: Wed, 05 Sep 2012 17:58:59 -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:15.0) Gecko/20120824 Thunderbird/15.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: FW: File access slow with using key authentication.
References: <36DA94300D69184A91500B695547A14833C3229A AT COMSTAR2 DOT scvl DOT com> <36DA94300D69184A91500B695547A14833C3FA0E AT COMSTAR1 DOT scvl DOT com>
In-reply-to: <36DA94300D69184A91500B695547A14833C3FA0E@COMSTAR1.scvl.com>
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 9/5/2012 4:47 PM, Maglinger, Paul wrote:
> Anyone?
>
>
> Running CYGWIN_NT-6.1-WOW64 1.7.16(0.262/5/3) on Windows 2008R2 box.
>
> When using SSH to come in through UNIX, we'd like to use public key
> authentication. The problem is that when we do it can take up to 5 minutes
> to even pull down a directory listing on a Windows share using ls -l from
> the Cygwin terminal. If we do without the key and enter the password
> manually, things speed up vastly, but we want to authenticate automatically
> and would prefer to use a key. I believe I understand why it's happening,
> but I'm having trouble figuring how to work around this. The goal is to have
> Unix kick off a Perl script residing on the Windows server, which will
> process files located on a CIFS share on a storage appliance. The Perl
> script is using UNC to access the shared directories. I've even tried
> various ways to mount the directories using fstab and that's not helping
> either. I've only been working with Cygwin for less than a month and would
> appreciate some insight.

I've read through your summary above at least twice now but I'm still
having trouble grokking the details of what you're doing.  Judging by the
lack of other responses, I'm guessing others are similarly stymied.
Perhaps you should back up and read the problem reporting guidelines
found at the link below:

> Problem reports:       http://cygwin.com/problems.html

Details are important.  Some pieces of information that may prove useful
include:

   1. Does sshing to the same server (presumably running Cygwin's sshd)
      from that or other Cygwin machine exhibit the same problem?

   2. How big is the directory you're running 'ls -l' on?  Do the results
      change if you instead use just '"ls"'?

   3. Who's the storage appliance's vendor?  Who has permissions to access
      it?  Keep in mind that public key authentication that's configured
      for you by default doesn't allow unfettered access to network shares.
      See <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview>
      for a detailed description of the authentication options and
      restrictions.


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