delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/21/02:24:32

X-Spam-Check-By: sourceware.org
Message-ID: <46CA8507.5020300@free.fr>
Date: Tue, 21 Aug 2007 08:24:07 +0200
From: Sylvain Richard <sr75pro AT free DOT fr>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to close a SSH connection from a BAT file
References: <loom DOT 20070801T062742-243 AT post DOT gmane DOT org> <46B0178A DOT 5887EC7F AT dessent DOT net> <loom DOT 20070803T084236-738 AT post DOT gmane DOT org> <v3n6b31r169vn98gjo4bgecheg38trhpck AT 4ax DOT com> <loom DOT 20070806T073624-945 AT post DOT gmane DOT org>
In-Reply-To: <loom.20070806T073624-945@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Anthony de Sousa wrote:
> the next time that net start ssh is issued the following 
> errors are in the log
> bind: Address already in use
> channel_setup_fwd_listener: cannot listen to port: 139
> Could not request local forwarding
Re your port 139 problem, see:

http://www.blisstonia.com/eolson/notes/smboverssh.php


You can check that port 139 is owned by your ssh client by using:
netstat -ano
tasklist /svc
or (more easily):
netstat -abn

Some webpages suggest stopping the "server" process but then you'd lose 
the shares hosted by your client machines.

Best of luck

Sylvain

--
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