public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Dessent <brian@dessent.net>
To: cygwin@cygwin.com
Subject: Re: ssh tunnel and permission denied
Date: Thu, 13 Oct 2005 10:45:00 -0000	[thread overview]
Message-ID: <434E3AB0.2EC440@dessent.net> (raw)
In-Reply-To: <620366892cd92783152559b849f33b80@alternative.ch>

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/

  reply	other threads:[~2005-10-13 10:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-12 18:03 Leonard Bouchet
2005-10-12 22:30 ` Brian Dessent
2005-10-13  8:39   ` Leonard Bouchet
2005-10-13  9:59     ` Leonard Bouchet
2005-10-13 10:45       ` Brian Dessent [this message]
2005-10-13 11:02         ` Léonard Bouchet
2005-10-13 11:26           ` Corinna Vinschen
2005-10-13 12:25             ` Tevfik Karagülle
2005-10-13 11:33           ` Brian Dessent
2005-10-13 12:22 Leonard Bouchet
2005-10-13 14:47 Leonard Bouchet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434E3AB0.2EC440@dessent.net \
    --to=brian@dessent.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).