This is the mail archive of the
mailing list for the Cygwin project.
Re: About ssh
- From: Robert Klemme <shortcutter at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 21 Sep 2013 15:59:11 +0000
- Subject: Re: About ssh
- Authentication-results: sourceware.org; auth=none
- References: <CALUrRGcJzyZ0YJ_b79BcCAGsH+Xf4mdPG5b+QMyKzfrxptwy4g at mail dot gmail dot com>
On Fri, Sep 20, 2013 at 11:36 PM, Javier Vasquez
> I'm able to perform:
> % ssh localhost
> From cygwing. But I'm unable to perform:
> % ssh <IP_addr>
> I always get:
> ssh: connect to host 192.168.2.103 port 22: Connection timed out
> The client works well hooking to a remote machine:
> % ssh <remote_user>@<remote_IP_addr>
> Works just fine from cygwin. But once in the remote machine, I'm
> unable to perform:
> % ssh <win_user>@<win_IP_addr>
> It returns the same time out error, but it lasts a longer to return it.
> I've even add c:\cygwing64\usr\bin\sshd as an allowed application on
> the windows firewall settings (for private net only). As that didn't
> work, I also added new rules (for both TCP and UDP) to allow incoming
> connections on port 22. That didn't help either.
> I've tried as well to set UsePrivilegeSeparation to no. But that was
> of no help either.
> I'm totally clueless now.
> I've followed several howtos like:
> The only caveat on the 1st link is that I couldn't remove the
> "win_user", and then regenerate it as local user, cause:
> mkpasswd -l –u <win_user>
> Returns nothing on me. So I can't append its output to /etc/passwd
> But that didn't seem to prevent being able to connect to localhost any
> ways. So it doesn't seem to be an issue.
> BTW, the service is running OK according to windows "local services".
> Another caveat is that I didn't install cygwin for all users, just to
> the myself (<win_user>). That didn't prevent the service to run,
> neither it prevent me from ssh to localhost.
> Any hints on how to enable sshd to receive connections?
Did you actually start it? You can verify with "netstat -an" that
something is listening on port 22 as a first quick check.
remember.guy do |as, often| as.you_can - without end
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple