delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/13/06:45:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <brian AT dessent DOT net>
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>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019