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]

ssh simply prints Aborted


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 => /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000)
  kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
  cygcrypto-0.9.8.dll => /usr/bin/cygcrypto-0.9.8.dll (0x6ba40000)
  cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
  ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd0000)
  RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e70000)
  Secur32.dll => /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fe0000)
  cygz.dll => /usr/bin/cygz.dll (0x692c0000)
  cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x67f00000)
  cygssp-0.dll => /usr/bin/cygssp-0.dll (0x67280000)

The same command shows this for scp.exe:

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

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


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