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: ssh broken?



Hi,


I also got the same problem since a few days.

I have done a complete reinstall of cygwin, but it didn't help.

I get "ssh: connect to host ... port 22: No error" immediately regardless if the address I try towards actually exists or not.

I used wireshark on the destination computer, and saw some traffic on port 22 when I tried to connect to it. Havn't looked into it in detail.

I downloaded and installed putty, and it works fine.

Tried to disable firewalls, no change.

I also noticed that I have some problems with the x-server.

startx gives
.
.
_XSERVTransSocketUNIXAccept: accept() failed

And i I try "xhost +" in the opened xterm i get
xhost: unable to open display "localhost:0.0"

Regards
Erik


Rutger Hofman wrote:
Hi list,

since a few days, my Cygwin ssh is broken. On the other hand, I run sshd as a service, that works just fine.

But the problem with my ssh:

$ ssh -vvvvvvvvvv mercury.cs.vu.nl
OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug3: cipher ok: aes128-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]


debug3: cipher ok: 3des-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]

debug3: cipher ok: blowfish-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]

debug3: cipher ok: cast128-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]

debug3: cipher ok: arcfour [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]

debug3: cipher ok: aes192-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]

debug3: cipher ok: aes256-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]

debug3: ciphers ok: [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]

debug2: mac_setup: found hmac-md5
debug3: mac ok: hmac-md5 [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]debug2: mac_setup: found hmac-sha1
debug3: mac ok: hmac-sha1 [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug2: mac_setup: found umac-64@openssh.com
debug3: mac ok: umac-64@openssh.com [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug2: mac_setup: found hmac-ripemd160
debug3: mac ok: hmac-ripemd160 [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug3: macs ok: [hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160]
debug2: ssh_connect: needpriv 0
debug1: Connecting to mercury.cs.vu.nl [130.37.193.14] port 22.
debug1: connect to address 130.37.193.14 port 22: No error
ssh: connect to host mercury.cs.vu.nl port 22: No error
$


And it returns immediately without a connection. So it seems to bail out at the 'Connecting to' stage. The same happens whatever I address I try to connect to, like e.g. localhost (sshd allows remote login without problems). The same problems with scp.

However, /bin/ping just works fine.

Background:
$ ssh -version
OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
Bad escape character 'rsion'.
$

Today (like yesterday, 2nd attempt), I reinstalled Cygwin, with lots of packages (gcc, gdb, flex, openssl, svn, cvs, ...). Made no difference at all, so maybe the problem is not in Cygwin but somewhere else?

I am also having problems with subversion: I get a comparable error when I want to check out via svn checkout https://svn.blaaaaaa....... When I run TortoiseSVN, this checks out the same URL fine. But then I get wrong line endings for working with Cygwin, so that doesn't solve my problem.

Rutger


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


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