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: About ssh


On 09/22/2013 06:16 PM, Javier Vasquez wrote:
On Sat, Sep 21, 2013 at 9:59 AM, Robert Klemme <shortcutter@googlemail.com> wrote:
On Fri, Sep 20, 2013 at 11:36 PM, Javier Vasquez
<j.e.vasquez.v@gmail.com> wrote:
...
Did you actually start it?  You can verify with "netstat -an" that
something is listening on port 22 as a first quick check.

Kind regards

robert
Yes, see:

% netstat -an | 'grep' :22
   TCP    0.0.0.0:22             0.0.0.0:0              LISTENING
   TCP    [::]:22                [::]:0                 LISTENING

Though when attempting "ssh <win_IP>" there's a time out failure, :-(


It looks like you have no routing to that port.
What happens when you turn off the windoze firewall completely?

To see if there is routing, I find it easier to use netcat
Install netcat, disable sshd server, then run this:
  $ nc -lp 22

On your client, you run
  $ echo blah | nc <host> 22

If you have routing, then your problem is in sshd

- bartels

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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