The SSH library (LGPL license)
https://www.libssh.org
3659e8c04a
It's based on poll objects, each of which store a socket, it's events and a callback, which gets called whenever an event is set. The poll objects are attached to a poll context, which should be allocated on per thread basis. Polling the poll context will poll all the attached poll objects and call their callbacks (handlers) if any of the socket events are set. This should be done within the main loop of an application. This is intended as a ground work for making libssh asynchronous. Signed-off-by: Aleksandar Kanchev <aleksandar.kanchev@googlemail.com> |
||
---|---|---|
build | ||
cmake/Modules | ||
doc | ||
include | ||
libssh | ||
tests | ||
.gitignore | ||
AUTHORS | ||
BSD | ||
ChangeLog | ||
CMakeLists.txt | ||
config.h.cmake | ||
ConfigureChecks.cmake | ||
COPYING | ||
CPackConfig.cmake | ||
DefineOptions.cmake | ||
Doxyfile | ||
Doxyfile.internal | ||
INSTALL | ||
README | ||
sample.c | ||
samplesshd.c |
The libSSH and its client ~~~~~~~~~~~~~~~~~~~~~~~~~ -Aris Adamantiadis 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 allow you to import and use the functions as a library, and so i worked on a library-based SSH implementation. 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. The client is there as a programming example and isn't at all doing its job correctly (doesn't verify public key hashes with the ones in ~/.ssh/ and doesn't handle TERM - yet) Everybody can use this software under the terms of the LGPL - see the COPYING file 3* What ? -_-_-_-_-_ The SSH library features : -Full C library functions for manipulating a client-side SSH connection -Fully configurable sessions -Support for AES-128,AES-192,AES-256,blowfish, in cbc mode -use multiple SSH connections in a same process, at same time. -usable SFTP implementation -Public key and password authentication 4* Where ? -_-_-_-_-_-_ http://www.libssh.org