ssh2/README

98 lines
2.9 KiB
Plaintext
Raw Normal View History

2004-12-07 22:17:20 +01:00
libssh2 - SSH2 library
======================
2007-03-27 14:22:22 +02:00
libssh2 is a library implementing the SSH2 protocol, available under
the revised BSD license.
2006-11-24 11:14:31 +01:00
Web site: http://www.libssh2.org/
2009-07-10 16:28:28 +02:00
Mailing list: http://cool.haxx.se/mailman/listinfo/libssh2-devel
2007-03-27 14:22:22 +02:00
Generic installation instructions are in INSTALL. Some ./configure
options deserve additional comments:
2006-11-24 11:14:31 +01:00
2007-03-27 14:22:22 +02:00
* --enable-crypt-none
2007-02-02 23:28:48 +01:00
2007-03-27 14:22:22 +02:00
The SSH2 Transport allows for unencrypted data
transmission using the "none" cipher. Because this is
such a huge security hole, it is typically disabled on
SSH2 implementations and is disabled in libssh2 by
2007-03-27 14:22:22 +02:00
default as well.
2007-02-02 23:28:48 +01:00
2007-03-27 14:22:22 +02:00
Enabling this option will allow for "none" as a
negotiable method, however it still requires that the
method be advertized by the remote end and that no
more-preferable methods are available.
2006-11-24 11:14:31 +01:00
2007-03-27 14:22:22 +02:00
* --enable-mac-none
2006-11-24 11:14:31 +01:00
2007-03-27 14:22:22 +02:00
The SSH2 Transport also allows implementations to
forego a message authentication code. While this is
less of a security risk than using a "none" cipher, it
is still not recommended as disabling MAC hashes
removes a layer of security.
2006-11-24 11:14:31 +01:00
2007-03-27 14:22:22 +02:00
Enabling this option will allow for "none" as a
negotiable method, however it still requires that the
method be advertized by the remote end and that no
more-preferable methods are available.
2007-01-16 16:36:43 +01:00
2007-03-27 14:22:22 +02:00
* --disable-gex-new
2007-01-16 16:36:43 +01:00
2007-03-27 14:22:22 +02:00
The diffie-hellman-group-exchange-sha1 (dh-gex) key
exchange method originally defined an exchange
negotiation using packet type 30 to request a
generation pair based on a single target value. Later
refinement of dh-gex provided for range and target
values. By default libssh2 will use the newer range
method.
2007-03-27 14:22:22 +02:00
If you experience trouble connecting to an old SSH
server using dh-gex, try this option to fallback on
the older more reliable method.
2007-03-27 14:22:22 +02:00
* --with-libgcrypt
2008-11-19 12:10:48 +01:00
* --without-libgcrypt
2007-03-27 14:22:22 +02:00
* --with-libgcrypt-prefix=DIR
2006-11-24 11:14:31 +01:00
2007-03-27 14:22:22 +02:00
libssh2 can use the Libgcrypt library
(http://www.gnupg.org/) for cryptographic operations.
2008-11-19 12:10:48 +01:00
Either Libgcrypt or OpenSSL is required.
2008-11-19 12:10:48 +01:00
Configure will attempt to locate Libgcrypt
automatically.
2008-11-19 12:10:48 +01:00
If your installation of Libgcrypt is in another
location, specify it using --with-libgcrypt-prefix.
* --with-openssl
* --without-openssl
* --with-libssl-prefix=[DIR]
2007-03-27 14:22:22 +02:00
libssh2 can use the OpenSSL library
(http://www.openssl.org) for cryptographic operations.
2008-11-19 12:10:48 +01:00
Either Libgcrypt or OpenSSL is required.
2008-11-19 12:10:48 +01:00
Configure will attempt to locate OpenSSL in the
default location.
2007-03-27 14:22:22 +02:00
If your installation of OpenSSL is in another
2008-11-19 12:10:48 +01:00
location, specify it using --with-libssl-prefix.
2008-11-19 12:10:48 +01:00
* --with-libz
* --without-libz
* --with-libz-prefix=[DIR]
2008-11-19 12:10:48 +01:00
If present, libssh2 will attempt to use the zlib
(http://www.zlib.org) for payload compression, however
zlib is not required.
2006-01-06 18:34:03 +01:00
2008-11-19 12:10:48 +01:00
If your installation of Libz is in another location,
specify it using --with-libz-prefix.
2007-04-12 23:40:22 +02:00
* --enable-debug
Will make the build use more pedantic and strict compiler
options as well as enable the libssh2_trace() function (for
showing debug traces).