delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/01/11:33:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=BAYES_50,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: ssh simply prints Aborted
Date: Wed, 1 Sep 2010 11:33:13 -0400
Message-ID: <710A2B84B637C64B9BAB4BA7F46951D40C164AF7@correo.bck>
From: "gonzalo diethelm" <gdiethelm AT dcv DOT cl>
To: <cygwin AT cygwin DOT com>
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

I am running on Windows XP SP3 with all Microsoft critical updates
installed. I have also updated cygwin just 20 minutes ago (with
setup.exe v2.721), and reinstalled the OpenSSH package (v5.6p1-1). When
I open a cygwin console and simply type "ssh", I get back "Aborted"; no
matter what options I give the ssh command, all it prints is "Aborted".
If I type "scp", I get back the usage message for scp:

usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2

Pretty much every cygwin command I regularly use does work, except for
ssh. I have checked the /bin/ssh.exe binary with Depends and it only had
the usual delay-loaded issues that are not a real problem.

The ldd command shows this for ssh.exe, which looks normal to me:

$ ldd /bin/ssh.exe
  ntdll.dll =3D> /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000)
  kernel32.dll =3D> /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
  cygcrypto-0.9.8.dll =3D> /usr/bin/cygcrypto-0.9.8.dll (0x6ba40000)
  cygwin1.dll =3D> /usr/bin/cygwin1.dll (0x61000000)
  ADVAPI32.DLL =3D> /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd0000)
  RPCRT4.dll =3D> /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e70000)
  Secur32.dll =3D> /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fe0000)
  cygz.dll =3D> /usr/bin/cygz.dll (0x692c0000)
  cyggcc_s-1.dll =3D> /usr/bin/cyggcc_s-1.dll (0x67f00000)
  cygssp-0.dll =3D> /usr/bin/cygssp-0.dll (0x67280000)

The same command shows this for scp.exe:

$ ldd /bin/scp.exe
  ntdll.dll =3D> /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000)
  kernel32.dll =3D> /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
  cygwin1.dll =3D> /usr/bin/cygwin1.dll (0x61000000)
  ADVAPI32.DLL =3D> /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd0000)
  RPCRT4.dll =3D> /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e70000)
  Secur32.dll =3D> /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fe0000)
  cyggcc_s-1.dll =3D> /usr/bin/cyggcc_s-1.dll (0x67f00000)
  cygssp-0.dll =3D> /usr/bin/cygssp-0.dll (0x67280000)

The only differences between the two are the presence of
cygcrypto-0.9.8.dll and cygz.dll for ssh.exe; these two DLLs exist on my
system.

Can anybody help me further diagnose this? It is really maddening; it
worked two days ago (I use ssh to access github) and now it just does
not. If this list's policy allows it, please CC me on your reply. Thanks
in advance.

--=20
Gonzalo


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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