X-Spam-Check-By: sourceware.org Message-ID: <44B3CDF1.70301@obbligato.org> Date: Tue, 11 Jul 2006 11:12:33 -0500 From: David Greene User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Accessing network drive with ssh References: <200607111327 DOT 59979 DOT nau AT port DOT de> <20060711113645 DOT GL8759 AT calimero DOT vinschen DOT de> In-Reply-To: <20060711113645.GL8759@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cray-VirusStatus: clean X-IsSubscribed: yes 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 Corinna Vinschen wrote: > Searching the mailing list archives or looking into the FAQ would have > been of some help. Rather than let this extremely unhelpful reply be the last word, I'll relate my experience. I'm sorry, but it's nearly impossible to do web searches on this topic. I know, I spent weeks doing them. The FAQ has zero useful information about this particular issue. It should definitely be added. The FAQ itself sorely needs to be reorganized. Too many things are covered under too broad of topics. It's very hard to find answers to specific questions. Basically, you will not be able to access network drives via /cygdrive or DOS-style drive letters when in an ssh session. For some reason "net use" gets very confused in an ssh environment and the drive mapping just doesn't work. But you can access them via the network path name (e.g. //net-drive/. You'll have to set sshd to run under your user account. If sshd runs as SYSTEM you'll get permission errors when accessing network volumes that you own. Run the Services tool and edit the "LogOn" (under XP) properties of sshd to set it to run under your account. I believe that's all you need to do to get network drive access from within an ssh session. Too bad drive letters don't work. -Dave -- 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/