X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 12 Aug 2008 17:45:46 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: openssh, XP and network drives not working *with* password auth Message-ID: <20080812154546.GU5129@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20080811090458 DOT GA14274 AT shareable DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080811090458.GA14274@shareable.org> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Aug 11 10:04, Jamie Lokier wrote: > Hi, > > I have a problem which at first seems to have been asked a hundred > times: How do I access network shares from an ssh session? > > The trouble is, everything I found via Google, the Cygwin docs, FAQ > etc. says the same thing: > > It works fine if you login with a password. > > If you login without a password, it doesn't work (unless you jump > through hoops.) > > Unfortunately I _am_ logging in with a password, and still I don't > have access to network shares which are already mounted, nor does "net > use" work. Nothing I've found says anything about this. There's a chance that you're not logged in with the password user token. Under some circumstances (which are, unfortunately, a bit intransparent) Cygwin decides that the user token is not ok and creates a new one which is then missing the network credentials you need to access your shares. One thing you could try is th regenerate your /etc/passwd and /etc/group files. If you have a domain, don't forget to add the domain user and group accounts with `mkpasswd -d' and `mkgroup -d'. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/