This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: OpenSSH on Windows XP SP2 problems


On 20 July 2007 16:25, Michael Grubb wrote:

> Ok,
> I'm about at wits end on this one I can't seem to figure out what's
> going on.
> I've had the openssh server running on the same version of windows
> (Windows XP Pro SP2 fully patched) for quite some time.
> The first time I installed it using the instructions at http://
> pigtail.net/LRP/printsrv/cygwin-sshd.html which worked beautifully.
> This time however, I'm having issues.  After following the
> instructions I was first presented with issues dealing with the
> privilege separation feature.
> I've got those worked out and now have a more serious trouble that
> I'm not sure where to proceed from here.

  Ok, so you followed a bunch of non-standard and unsupported instructions to
install sshd, then something happened which you don't tell us anything about
except that it was to do with privsep, then you did some other stuff to it
that you also don't tell us about it, but apparently it solved whatever it was
that was the problem that you didn't tell us about, and now it doesn't work.
So the answer is "It could be a problem in one of the bits you didn't tell us
about".  Or it might not.

> debug1: Bind to port 22 on 0.0.0.0.
> Bind to port 22 on 0.0.0.0 failed: Bad address.
> Cannot bind any address.
> 
> I've tried explicitly adding my IP address with the ListenAddress
> directive in the /etc/sshd_config file.  I've tried altering the port
> number to a non-privileged port.
> I can't seem to get anything to work.  I'm running the latest version
> of cygwin from cygwin.com.

  Have you allowed an exception for sshd in the windows firewall?

> I did download another project OpenSSH for windows, which seems to be
> based off cygwin. It used an older version of openssh as well as the
> cygwin DLL, I believe, as they didn't really like having each other
> installed at the same time.  

  Yes, that's pretty much guaranteed fatal.  Have you removed this older
version?  Is it in the PATH settings?  More vital information you don't seem
to think anybody would need...

>  So I'm  not sure where the root cause of the problem lies in this case.

  Owing to the lack of information and the vast number of unknowns in your
description of the problem, neither is anyone else!  If it isn't a firewall
configuration issue, it could be any number of things; a good place to start
would be by sending your cygcheck output as an attachment with your next post,
as described at http://cygwin.com/problems.html.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]