delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/17/16:11:54

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <47B8A2D5.5080308@fiveam.org>
Date: Sun, 17 Feb 2008 23:10:45 +0200
From: Jani Saksa <robsku AT fiveam DOT org>
User-Agent: Thunderbird 2.0.0.9 (X11/20071115)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Re: Success in accessing network shares on windows through sshd
References: <20080215150727 DOT GC11268 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20080215150727.GC11268@ednor.casa.cgf.cx>
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

Christopher Faylor wrote:
> On Fri, Feb 15, 2008 at 12:41:26PM +0200, Jani Saksa wrote:
>> Larry Hall (Cygwin) wrote:
>>> Jani Saksa wrote:
>>>> If I understand correctly you can't normally see or access mapped network 
>>>> drives on windows when remotely logged through cygwin sshd, but I found a 
>>>> way and I have a couple questions:
>>> Have you seen and read through this?
>>> <http://cygwin.com/faq/faq-nochunks.html#faq.using.shares>
>> Seems that I've missed that... So there is no easy way to use non-public 
>> share, except with 'net use' command, but is there any work-in-progress 
>> around this issue at the moment?`(personally I would gladly participate, 
>> but I know too little about windows programming and cygwins internals to 
>> actually be helpfull ;) ).
> 
> Is anyone rewriting Windows to make it work better with Cygwin's ssh?
> 
> No, not that I'm aware of.

Ah, of course not... I don't understand the technical side of this fully 
(but I've tried as well as I can) but it seems to me that if I can get 
access to mapped drive through ssh even though it's be reattaching a 
screen session originally started locally from the desktop where the 
drive was also mapped from then there should be some other ways to hack 
around the problem too... I don't know how, but would it not seem to be 
in someway possible to write cygwin and/or sshd to work so that the user 
who logs in through sshd would have the same rights to mapped drive that 
he does get when attaching a session running inside the screen?

It seems to me that there must be a way but I don't know if it would be 
a really dirty hack or if a nicer solution would be possible... Would I 
have more techincal knowledge about how these programs and OS work I 
would gladly participate in planning, designing and coding it :)

-- 
Peace & Love,
   Jani a.k.a. Sir Robin * +358 44 927 3992
   http://soul.fiveam.org/robsku/ * 
http://www.doomworld.com/sir_robin/castle/

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