delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/21/19:41:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <232810-220034121234158313@M2W038.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: kmself AT ix DOT netcom DOT com, cygwin AT cygwin DOT com
Subject: Re: Resolution: Re: Can't access windows shares when logged into Win2K via cygwin sshd
Date: Mon, 21 Apr 2003 19:41:58 -0400
MIME-Version: 1.0
X-OriginalArrivalTime: 21 Apr 2003 23:41:45.0046 (UTC) FILETIME=[9160C760:01C3085F]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h3LNfwX11720

Yes, I'm in 100% agreement with what Max says here.  If my previous
response suggested otherwise, it is incorrect.  This is a consequence
of the Windows authentication mechanism.

Larry

Original Message:
-----------------
From: Max Bowsher maxb AT ukf DOT net
Date: Tue, 22 Apr 2003 00:00:20 +0100
To: kmself AT ix DOT netcom DOT com, cygwin AT cygwin DOT com
Subject: Re: Resolution: Re: Can't access windows shares when logged into
Win2K via cygwin sshd


Karsten M. Self wrote:
> on Mon, Apr 21, 2003 at 08:08:13PM +0100, Karsten M. Self
> (kmself AT ix DOT netcom DOT com) wrote: 
>> I've researched via Google and found a few references to this problem,
>> but no apparent solution.
>> 
>> I am connection from a GNU/Linux system to a Win2K box via SSH.  The
>> Win2K system is running Cygwin and the Cygwin sshd daemon.  I've
>> followed Mike Erdeley's recommendations in setting up SSH, including
>> renaming my standard 2K userid to something more unixlike.
>> 
>> On the 2K box, from within legacy MS Windows, I can access shares.  I've
>> "mapped" several of these via symlinks as /net/<host>/<share>/.  Cygwin
>> under windows can access these shares.
>> 
>> Cygwin via remote ssh cannot access these shares.  Cygwin via *local*
>> ssh (ssh localhost; ls /net/<host>/<share> *does* work.
>> 
>> I've seen suggestions that the Win2K 'NET' command may be of some use
>> here, but I'm unfamiliar with its syntax, and it also appears to be
>> acting differently under a remote SSH session than it does locally on
>> the Win2K box.
>> 
>> Suggestions appreciated.
> 
> In an offlist response, I was asked whether or not I was not using
> password authentication.  Indeed I wasn't, relying instead on RSAKEY
> with ssh-agent for passwordless connections. 
> This is apparently a known bug with Cygwin's SSH: 
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

No, an unavoidable consequence of Windows' authentication mechanism.

> you can access the remote host but not shares
> connected to it.  Falling back on password auth avoids this issue,
> though it reduces the convenience factor.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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