delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/29/12:40:18

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
Date: Tue, 29 Apr 2003 17:39:59 +0100
From: "Karsten M. Self" <kmself AT ix DOT netcom DOT com>
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Un- Resolution: Re: Can't access windows shares when logged into Win2K via cygwin sshd
Message-ID: <20030429163959.GI18782@ganymede>
Mail-Followup-To: Cygwin-L <cygwin AT cygwin DOT com>
References: <20030421190813 DOT GK16154 AT ganymede> <20030421224823 DOT GO16154 AT ganymede>
Mime-Version: 1.0
In-Reply-To: <20030421224823.GO16154@ganymede>
X-Debian-GNU-Linux: Rocks
X-Kuro5hin-cabal: There is no K5 cabal
X-GPG-Fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
X-uptime: 23:22:27 up 174 days, 14:47, 17 users, load average: 2.53, 1.25, 0.84
User-Agent: Mutt/1.5.4i

on Mon, Apr 21, 2003 at 11:48:23PM +0100, Karsten M. Self (kmself AT ix DOT netcom DOT com) wrote:
> on Mon, Apr 21, 2003 at 08:08:13PM +0100, Karsten M. Self (kmself AT ix DOT netcom DOT com) wrote:

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

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

And all of a sudden it's stopped working again.

I'm back to square one:  ssh session using *password* authentication to
Cygwin's sshd on Win2K Pro *no longer has access* to MS Windows shares.  
The 'NET' command doesn't work.

Accessing the  Win2K box dierctly *does* work -- I can access shares
from the bash prompt.  I believe there've been a few recent MS service
packs, has the Vole "fixed" something?

Given my current SOP, an exported terminal from the Win2K system would
be sufficient (experimentation ensues...).  Hmm...this wasn't working
previously, but is now.  I've run an ssh with X11 forwarding *from*
GNU/Linux *to* Cygwin ssh / Win2K, then gone to the Win2K desktop (VNC
;-), set DISPLAY appropriately, and launched rxvt back at the Linux box.
Joy!

Peace.

-- 
Karsten M. Self <kmself AT ix DOT netcom DOT com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   The Consumer Broadband and Digital Television Promotion Act:
     Feinstein's answer to Enron envy.
       http://www.politechbot.com/docs/cbdtpa/hollings.s2048.032102.html

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