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 Message-ID: <434E3AB0.2EC440@dessent.net> Date: Thu, 13 Oct 2005 03:45:04 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ssh tunnel and permission denied References: <5d3f5dd52c71ff2e4e5e7b2734b19c0e AT alternative DOT ch> <434D8E7D DOT DB3D6563 AT dessent DOT net> <6238b89702e82a90f9db148ecaf4f7dc AT alternative DOT ch> <620366892cd92783152559b849f33b80 AT alternative DOT ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Leonard Bouchet wrote: > Actually, according to netstat, the binding works because it listens to > 127.0.0.1:139, while the windows' sharing service listens to my locally > assigned ip address, for example 192.168.1.25:139. > > That's my guess after some additional researches. I still don't know > why I get a 'permission denied' when I try to access this mounted > drive, though. That was what I suspected. Even if you aren't sharing anything the SMB server still is listening on the interface. It looks like ssh only binds to localhost and not 0.0.0.0 which would fail. But I guess that doesn't matter, since the net use succeeds and you can access Z: through explorer. What happens if you try mounting Z:/ instead of using /cygdrive? I've done SMB-over-ssh in the past but I used PPTP, not this method (for the binding reasons already mentioned.) I abandoned it though because over a broadband connection it was untolerably slow. Brian -- 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/