views:

232

answers:

1

SSH on Cygwin intermittently freezes before requesting password authentication. I would be grateful for a way to track down the error: is there a log file I can check, or a website that explains this problem? Thanks in advance for your help :)

When SSH freezes, it looks as follows:

# My command input  
ssh -l $username $ip_address -vvv  # '-vvv' prints verbose status messages

# Cygwin output  
$version_info  
debug2: ssh_connect: needpriv 0  
debug1: Connecting to $ip_address port 22.

... and then FREEZE

When this command is successful, these lines are the same and the next line is:

debug1: Connection established.

followed by lots of output, a password prompt, and successful connection. When SSH freezes, nothing is logged on the target machine's /var/log/auth.log until I kill the frozen SSH process on the client. Then, this line shows up:

Did not receive identification string from UNKNOWN

I'm on a Windows XP Professional laptop with cywgin version CYGWIN_NT-5.1, ssh client OpenSSH_5.1p1, OpenSSL 0.9.8k

A: 

I am getting a similar problem on from cygwin to ubuntu. Connectes then does not then connects again. Have not figured out a patern yet but seeing the same message.

ken