Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Mon, 21 Apr 2003 23:48:23 +0100 From: "Karsten M. Self" To: Cygwin-L Subject: Resolution: Re: Can't access windows shares when logged into Win2K via cygwin sshd Message-ID: <20030421224823.GO16154@ganymede> Mail-Followup-To: Cygwin-L References: <20030421190813 DOT GK16154 AT ganymede> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030421190813.GK16154@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: 20:07:49 up 167 days, 11:32, 16 users, load average: 1.38, 0.72, 0.72 User-Agent: Mutt/1.5.4i 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///. Cygwin > under windows can access these shares. > > Cygwin via remote ssh cannot access these shares. Cygwin via *local* > ssh (ssh localhost; ls /net// *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: 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. Thanks. Peace. -- Karsten M. Self http://kmself.home.netcom.com/ What Part of "Gestalt" don't you understand? TWikIWeThey: An experiment in collective intelligence. Stupidity. Whatever. Technical docs, discussion, reviews, opinion. http://twiki.iwethey.org/ -- 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/