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 X-Authentication-Warning: ns.aus.com: rsharpe owned process doing -bs Date: Tue, 8 Apr 2003 10:24:35 -0700 (PDT) From: Richard Sharpe X-X-Sender: To: Eric Hanchrow cc: Subject: Re: Problems with net use statement via sshd on cygwin In-Reply-To: <87k7e56nnb.fsf@blarg.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 8 Apr 2003, Eric Hanchrow wrote: > > OK, so the echo works, but does: > > ssh user AT some-machine net use f: \\\\\\server\\\\share /u:user passwd > > work for you, in that the drive is usable? > > Yes, both interactively and non-: Hmmm, this is interesting. A little further checking seems to show that when logged in via ssh from a FreeBSD system to a Win2K system, the drive mapping shown via 'net use' are per-login. I also have a cygwin window/shell up on the box, and can do 'net use /d g:' in my ssh session, which works, and shows G: gone when I do 'net use', however, the cygwin window on the box, and a DOS window on the box both still show G: as being available, and I can do 'dir g:' with no problems. What gives. Am I crazy, or just deluded? Regards ----- Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.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/