delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/09/19:09:59

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: <3D7D2A2D.E24B672D@verizon.net>
Date: Mon, 09 Sep 2002 16:09:33 -0700
From: David Rothenberger <d DOT roth AT verizon DOT net>
X-Accept-Language: en
MIME-Version: 1.0
To: Scott Evans <gse AT antisleep DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: accessing shared drives when logged in via ssh
References: <znuqpz2u DOT fsf AT templarcorp DOT com>
X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop018.verizon.net from [216.34.91.132] using ID <res00a7j AT verizon DOT net> at Mon, 9 Sep 2002 18:09:35 -0500

This is expected behavior if sshd is running as LocalSystem and you used
publickey authentication when you logged in.  On my Win2k box, I can
access shares if I use password authentication.  Alternatively, you can
run the sshd process as a specific user.  If you then use pubkey
authentication (and are logging in as the user running sshd), you'll
also have share access.

Dave

Scott Evans wrote:
> 
> While I'm asking about weirdness I've seen recently...
> 
> I have a home network with 4 machines in a workgroup.  3 of them run
> XP, one still runs Win98.  I just installed XP on the "main" machine,
> which also runs sshd.  Now I find that I can't access shared drives on
> the other XP machines when I'm ssh'd in.  If I open a bash window
> directly on the machine, no problem.
> 
> In an ssh session, output looks like this:
> 
>   [gse] $ cd //studio/c
>   -bash: cd: //studio/c: Permission denied
> 
> Any ideas on where to start looking?  Would strace output be useful?
> 
> --
>  scott evans :: www.antisleep.com
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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