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]

sshd not properly working


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/


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