delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/08/02:10:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Aq4HANtEMkdV4g4WRmdsb2JhbAAMjmQBAQE3
Message-ID: <4732B98A.8040800@telia.com>
Date: Thu, 08 Nov 2007 08:23:54 +0100
From: Erik M <erik DOT moe AT telia DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.9) Gecko/20061219 Iceape/1.0.7 (Debian-1.0.7-3)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ssh broken?
References: <4730B989 DOT 6080907 AT cs DOT vu DOT nl>
In-Reply-To: <4730B989.6080907@cs.vu.nl>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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 AT openssh DOT com,hmac-ripemd160]debug2: 
> mac_setup: found hmac-sha1
> debug3: mac ok: hmac-sha1 
> [hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripemd160]
> debug2: mac_setup: found umac-64 AT openssh DOT com
> debug3: mac ok: umac-64 AT openssh DOT com 
> [hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripemd160]
> debug2: mac_setup: found hmac-ripemd160
> debug3: mac ok: hmac-ripemd160 
> [hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripemd160]
> debug3: macs ok: [hmac-md5,hmac-sha1,umac-64 AT openssh DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019