delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/02/06:22:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: giuseppe <atirairam18 AT libero DOT it>
Subject: sshd not properly working
Date: Sat, 2 Apr 2005 11:07:38 +0000 (UTC)
Lines: 55
Message-ID: <loom.20050402T125620-263@post.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 141.108.3.210 (Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020 Firefox/0.10.1)
X-IsSubscribed: yes

Hi everyone!
I am an Italian student; my name is giuseppe

during this day I tried several attempts to get the sshd service work on a win
machine (WM in the following) but without any succes and now I would like to ask
you for some help.

I have win XP SP2 on my WM and I installed the latest version of cygwin.
later I tryed to get the ssh daemon working following instructions from:
http://pigtail.net/LRP/printsrv/cygwin-sshd.html

as a result I get the client ssh work properly but if i try from a linux machine
(LM in the following) i get
$ ssh -l username  name_WM
ssh: connect to host name_WM port 22: Connection timed out

nevertheless from WM i can ssh to and back from LM;
this is puzzling for me; once I ssh on LM from the cygwin shell I digit
the same command
$ ssh -l username name_WM
and the connection starts!! way??

I downloaded and run tcpview.exe and here is what it see when i ssh on LM:

alg.exe:1812  TCP  127.0.0.1:1031  0.0.0.0:0  LISTENING 
lsass.exe:716  UDP  0.0.0.0:500  *:*  
lsass.exe:716  UDP  0.0.0.0:4500  *:*  
Pop3trap.exe:1020 TCP  127.0.0.1:110  0.0.0.0:0  LISTENING 
spoolsv.exe:1444 UDP  0.0.0.0:1037  *:*  
ssh.exe:2432  TCP  WM_ip:1120 LM_ip:22 ESTABLISHED  >>>>>>
ssh.exe:2432  UDP  127.0.0.1:1121  *:*     >>>>>>
sshd.exe:424  TCP  0.0.0.0:22  0.0.0.0:0  LISTENING 
sshd.exe:424  UDP  127.0.0.1:1027  *:*     
svchost.exe:1064 UDP  127.0.0.1:123  *:*  
svchost.exe:1064 UDP  WM_ip:123 *:*  
svchost.exe:1104 UDP  0.0.0.0:1067  *:*  
svchost.exe:1104 UDP  0.0.0.0:1025  *:*  
svchost.exe:1168 UDP  127.0.0.1:1900  *:*  
svchost.exe:1168 UDP  WM_ip:1900 *:*  
svchost.exe:976 TCP  0.0.0.0:135  0.0.0.0:0  LISTENING 
System:4  TCP  0.0.0.0:445  0.0.0.0:0  LISTENING 
System:4  UDP  0.0.0.0:445  *:*  
System:4  TCP  WM_ip:139 0.0.0.0:0  LISTENING 
System:4  UDP  WM_ip:137 *:*  
System:4  UDP  WM_ip:138 *:*  

when I disconnect the lines with >>>>>>>>>> disappear

that's all; I hope you can understand what's going on.

thanks a lot anyway
bye

giuseppe



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