Success in accessing network shares on windows through sshd

Jani Saksa robsku@fiveam.org
Mon Feb 18 00:51:00 GMT 2008


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/



More information about the Cygwin mailing list