1
1
The SSH library (LGPL license) https://www.libssh.org
Перейти к файлу
2011-01-28 13:13:08 +01:00
build build: Fixed options parsing. 2010-09-08 16:29:50 +02:00
cmake/Modules cmake: Define BSD. 2011-01-24 15:44:11 +01:00
doc doc: Fixed the include dir. 2011-01-28 13:13:08 +01:00
examples examples: Fixed compilation on Windows. 2011-01-24 15:25:50 +01:00
include libsshpp: Removed unused variable. 2011-01-24 15:25:50 +01:00
src SSH1: Update a few fix from 0.4.8-git 2011-01-26 22:50:05 +01:00
tests ssh_auth_password made nonblocking 2011-01-16 23:42:19 +01:00
.gitignore Add a git ignore file. 2009-06-19 10:25:51 +02:00
AUTHORS updated changelog + authors 2009-05-18 18:39:26 +00:00
BSD added a file from openssh needed for known host parsing 2008-11-02 23:46:55 +00:00
ChangeLog doc: Updated Changelog. 2010-12-21 15:51:07 +01:00
CMakeLists.txt examples: Start to build examples on more plattforms. 2011-01-23 18:57:35 +01:00
config.h.cmake server: Replace gethostbyname() with getaddrinfo(). 2010-12-27 21:51:55 +01:00
ConfigureChecks.cmake cmake: Fixed ZLIB configure check. 2011-01-18 18:56:24 +01:00
COPYING legal paperwork to be 100% respectful of LGPL, about openssl's 2008-06-16 13:58:56 +00:00
CPackConfig.cmake cmake: Fixed NSIS detection on Windows. 2010-12-30 11:17:48 +01:00
CTestConfig.cmake ctest: Set the memcheck suppression file correctly. 2010-12-19 16:30:23 +01:00
DefineOptions.cmake Set variables in the good order 2010-12-28 13:50:34 +01:00
INSTALL doc: Added samplessh hint to INSTALL. 2010-12-21 16:21:02 +01:00
libssh.pc.cmake Add pkg-config file libssh.pc 2009-12-30 19:05:48 +01:00
README doc: Update README. 2010-12-21 15:24:38 +01:00

Этот файл содержит неоднозначные символы Юникода

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

libssh: the SSH library
~~~~~~~~~~~~~~~~~~~~~~~

1* Why ?
-_-_-_-_-_

Why not ? :) I've began to work on my own implementation of the ssh protocol
because i didn't like the currently public ones.
Not any allowed you to import and use the functions as a powerful library, 
and so i worked on a library-based SSH implementation which was non-existing
in the free and open source software world.


2* How/Who ?
-_-_-_-_-_-_-_

If you downloaded this file, you must know what it is : a library for
accessing ssh client services through C libraries calls in a simple manner.
Everybody can use this software under the terms of the LGPL - see the COPYING
file

If you ask yourself how to compile libssh, please read INSTALL before anything.

3* Where ?
-_-_-_-_-_-_

http://www.libssh.org

4* API Changes !
-_-_-_-_-_-_-_-_-_

Changes between 0.4 and 0.5
---------------------------

We use the ssh_ prefix as namespace for every function now. There is a legacy.h
which could be used to get the old function names.

Changes between 0.3 and 0.4
---------------------------

We changed libssh to be typesafe now:

SSH_SESSION *session -> ssh_session session
SFTP_SESSION *sftp -> sftp_session sftp
CHANNEL *channel -> ssh_channel channel
STRING *string -> ssh_string string
...

The options structure has been removed and there is a new function. This
function can set all available options now. You can find the enum in the
header file and it is documented. Example:

ssh_options_set(session, SSH_OPTIONS_HOST, "localhost");

5* Copyright policy
-_-_-_-_-_-_-_-_-_-_

The developers of libssh have a policy of asking for contributions to be made
under the personal copyright of the contributor, instead of a corporate
copyright.

There are some reasons for the establishment of this policy:

    * Individual copyrights make copyright registration in the US a simpler
      process.
    * If libssh is copyrighted by individuals rather than corporations,
      decisions regarding enforcement and protection of copyright will, more
      likely, be made in the interests of the project, and not in the interests
      of any corporations shareholders.
    * If we ever need to relicense a portion of the code contacting individuals
      for permission to do so is much easier than contacting a company.