1
1
Aris Adamantiadis 1847fb2373 added bases for nonblocking packet sending and receiving. packet_send
and packet_read may return SSH_AGAIN if the session is nonblocking and 
there is not enough data to be read.
I also added a socket buffering through session->in_socket_buffer. It is 
more low-level than the packet buffer.
I should rename in_buffer with in_packet_buffer.
There is still work to do with the socket status, (opened, error, 
closed, ...) and much more work to extend the nonblocking to session 
opening, messages sending and such.
I find the switch(session->packet_state) solution very nice (especially 
when the nonblocking function may have 10 differents states, like in a 
connection.)


git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@49 7dcaeef0-15fb-0310-b436-a5af3365683c
2005-11-22 23:15:31 +00:00
2005-07-05 01:21:44 +00:00
2005-07-05 01:21:44 +00:00
2005-07-05 01:21:44 +00:00
2005-07-05 01:21:44 +00:00
2005-07-05 01:21:44 +00:00
2005-08-07 10:48:08 +00:00
2005-07-05 01:21:44 +00:00
2005-07-05 01:21:44 +00:00
2005-07-05 01:21:44 +00:00

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://0xbadc0de.be/?part=libssh
Описание
The SSH library (LGPL license)
https://www.libssh.org
Readme 7,9 MiB
2023-03-09 22:37:10 +03:00
Languages
C 95%
CMake 4.3%
C++ 0.6%