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] |
> > I have the same problem and have not been able to resolve the issue either. I > > get the following from the "type -a" command. Invoking either [ssh version] from the bash > > shell with a complete path still just displays the usage message and gives a > > return code of 255. Everything else seems to be working fine. > > Brian S. Wilson@ncc-1701 ~ > > $ type -a ssh > > ssh is /usr/bin/ssh > > ssh is /bin/ssh > > A return code of 255 seems odd. Maybe a required DLL is missing. What > is the complete usage message displayed? > > What is the output of the following: > > ls -l /usr/bin/ssh /bin/ssh > ldd /usr/bin/ssh > > What happens when you invoke ssh from a cmd shell? > Brian S. Wilson@ncc-1701 ~ $ ls -l /usr/bin/ssh /bin/ssh -rwxr-xr-x 1 Brian S. Wilson root 342030 2010-09-03 04:44 /bin/ssh -rwxr-xr-x 1 Brian S. Wilson root 342030 2010-09-03 04:44 /usr/bin/ssh Brian S. Wilson@ncc-1701 ~ $ ldd /usr/bin/ssh 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) cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x67f00000) cygz.dll => /usr/bin/cygz.dll (0x692c0000) cygssp-0.dll => /usr/bin/cygssp-0.dll (0x67280000) $ ls -l /cygdrive/c/WINDOWS/system32/ntdll.dll /cygdrive/c/WINDOWS/system32/kernel32.dll /usr/bin/cygcrypto- 0.9.8.dll /usr/bin/cygwin1.dll /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL /cygdrive/c/WINDOWS/system32/RPCRT4.dll /cygdrive/c/WINDOWS/system32/Secur32.dll /usr/bin/cyggcc_s-1.dll /usr/bin/cygz.dll /usr/bin/cygssp-0.dll -rwxrwx---+ 1 Administrators SYSTEM 714752 2009-02-09 07:10 /cygdrive/c/WINDOWS/system32/ntdll.dll -rwxrwx---+ 1 Administrators SYSTEM 989696 2009-03-21 10:06 /cygdrive/c/WINDOWS/system32/kernel32.dll -rwxr-xr-x 1 Brian S. Wilson root 1174030 2009-11-05 12:49 /usr/bin/cygcrypto-0.9.8.dll -rwxr-xr-x 1 Brian S. Wilson root 2477372 2009-12-07 05:51 /usr/bin/cygwin1.dll -rwxrwx---+ 1 Administrators SYSTEM 617472 2009-02-09 07:10 /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL -rwxrwx---+ 1 Administrators SYSTEM 590848 2010-08-16 04:45 /cygdrive/c/WINDOWS/system32/RPCRT4.dll -rwxrwx---+ 1 Administrators SYSTEM 56832 2009-06-25 04:25 /cygdrive/c/WINDOWS/system32/Secur32.dll -rwxr-xr-x 1 Brian S. Wilson root 46094 2009-12-11 03:23 /usr/bin/cyggcc_s-1.dll -rwxr-xr-x 1 Brian S. Wilson root 65536 2009-03-01 20:34 /usr/bin/cygz.dll -rwxr-xr-x 1 Brian S. Wilson root 10254 2009-12-11 03:24 /usr/bin/cygssp-0.dll Brian S. Wilson@ncc-1701 ~ $ ssh wilson@ncc-1701 usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] [user@]hostname [command] Brian S. Wilson@ncc-1701 ~ $ echo $? 255 I get the same message from a DOS command shell when I cd to /cygwin/bin and execute ssh directly. I've also attached the output of a cygcheck which did show a few issues I was not aware of and which I will work on correcting this weekend; but which shouldn't affect ssh's operations (as far as I am aware).
Attachment:
cygcheck.out
Description: Binary data
-- 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] |