This is the mail archive of the
mailing list for the Cygwin project.
Re: How to close a SSH connection from a BAT file
Anthony de Sousa wrote:
the next time that net start ssh is issued the following
errors are in the logRe your port 139 problem, see:
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 139
Could not request local forwarding
You can check that port 139 is owned by your ssh client by using:
or (more easily):
Some webpages suggest stopping the "server" process but then you'd lose
the shares hosted by your client machines.
Best of luck
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html