Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: sftp - Received message too long 1265200236

Subject: Re: sftp - Received message too long 1265200236
Date: Tue, 08 Mar 2005 08:08:29 -0700
Darren Tucker wrote:
I suspect that you're missing a shared library such as libcrypto from the standard library search path, and that LD_LIBRARY_PATH is set OK in /bin/sh's startup files but not the ones of the other shells.

Try:
$ ssh yourserver /usr/local/bin/scp -v
and see what the entire error message is.


No problems with shared libraries. The same result whether doing it from Linux to Solaris or Solaris to Solaris.


root@linux:~# ssh user@solaris /usr/local/bin/scp -v
user@solaris's password:
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
root@linux:~#

> Also look at the Solaris crle(1) man page and see what it's set to on
> the server.
>
> OpenSSH's configure should use the -R linker flag to override this so it
> should not be a problem however configure's behaviour can be changed
> with the --without-rpath option.
>

All Solaris boxes have empty /var/ld/ld.config files and crle reports:

Default configuration file (/var/ld/ld.config) not found
  Default Library Path (ELF):   /usr/lib  (system default)
  Trusted Directories (ELF):    /usr/lib/secure  (system default)
--
---------------------------------------------------------------------------
Mark Leisher
Computing Research Lab            All political parties die at last of
New Mexico State University       swallowing their own lies.
Box 30001, MSC 3CRL                  -- John Arbuthnot (1667-1735)
Las Cruces, NM  88003

<Prev in Thread] Current Thread [Next in Thread>