aboutsummaryrefslogtreecommitdiff
path: root/libssh
AgeCommit message (Collapse)AuthorFilesLines
2009-08-11Fix memory leak introduced by previous bugfixAris Adamantiadis1-2/+3
2009-08-11Fix uint8_t.Andreas Schneider1-3/+3
2009-08-11Add a NULL check for strdup memory allocation.Andreas Schneider1-1/+6
2009-08-10Latest scp codeAris Adamantiadis1-13/+62
The sample is now able to scp a file
2009-08-10Fixed stupid "can't parse known host key" bugAris Adamantiadis1-0/+1
due to a dangling \n in the base64 ...
2009-08-10I really really broke itAris Adamantiadis1-2/+2
excuse me !
2009-08-10oops I broke libssh.mapAris Adamantiadis1-1/+1
2009-08-09ssh_scp_push_file and ssh_scp_writeAris Adamantiadis3-2/+58
still needs tests
2009-08-09Initial scp implementation in source treeAris Adamantiadis4-0/+103
2009-08-09Fixed channel_poll broken when delayed EOF recvdAris Adamantiadis1-0/+3
Previous code returned SSH_EOF even if data was left in buffer
2009-08-07Fix buffer overflow in generate_cookie()milo1-4/+4
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-08-07Fix a typo: CHANNEL * -> ssh_channelmilo1-1/+1
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-08-06Fix possible memory corruption (#14)milo7-24/+24
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-08-05Remove ssh_fd_poll from map file.Andreas Schneider2-2/+0
2009-08-01Don't use the map file if the build type is debug.Andreas Schneider1-2/+2
2009-07-31Fixed libssh compilation without server support.Andreas Schneider3-344/+345
2009-07-31Add x11 forwarding support for ssh clientVic Lee3-0/+122
Signed-off-by: Vic Lee <llyzs@163.com> Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-07-30Cleanup the map file and oder it alphabetically.Andreas Schneider1-68/+189
2009-07-30Export public functions on Windows.Andreas Schneider2-0/+208
2009-07-30Fix build with MSVC.Andreas Schneider14-109/+124
2009-07-30Compile the library with the map file again.Andreas Schneider1-0/+9
2009-07-30Add missing functions to map file.Andreas Schneider1-9/+12
2009-07-29Move channel_write_stderr to server.c.Andreas Schneider2-18/+18
2009-07-29Fix indent.Andreas Schneider1-2/+2
2009-07-29Update map file and introduce a new version.Andreas Schneider1-2/+23
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-07-29Add channel_write_stderr prototype to the right header file.Andreas Schneider1-1/+2
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-07-29Fix build errors in new messages functions.Andreas Schneider1-4/+3
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-07-29Fleshed out server interfacePreston A. Elder3-17/+246
- Enables channel_request_open types of DIRECT_TCPIP, FORWARDED_TCPIP and X11 (ie. implemented the handling of those channel_request_open types). - Adds functions to retrieve the extra information relating to channel_request_open messages and channel_request messages. - Adds a channel_write_stderr method (obviously for writing to the STDERR channel from server side) - well, technically just converted the exiting channel_write to take an extra argument and created two wrapper functions. - Actually does the invoking of message_handle() from channel_recv_request. - Implemented the handling of the window-change and env channel_requests. - Implemented a few functions in server.h that were declared but not defined (eg. ssh_message_channel_request_channel). Signed-off-by: Preston A. Elder <prez@neuromancy.net> Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-07-28Add functions to get the extension count, name and data.Andreas Schneider1-0/+32
2009-07-28Add support to read and store sftp extensions.Andreas Schneider1-21/+117
2009-07-28Check for OpenSSH and implement sftp_symlink correct.Andreas Schneider2-5/+59
When OpenSSH's sftp-server was implemented, the order of the arguments to the SSH_FXP_SYMLINK method was inadvertently reversed. Unfortunately, the reversal was not noticed until the server was widely deployed. Since fixing this to follow the specification would cause incompatibility, the current order was retained.
2009-07-27Fix SSH1 compilation.Andreas Schneider6-26/+30
2009-07-27Fix stdint type.Andreas Schneider1-1/+1
2009-07-27Fix SSH1 and stdint in SSH1 code.Andreas Schneider1-11/+11
2009-07-27Fix potential memory corruption bugmilo1-0/+5
2009-07-27Fix compile errors in keyfiles.Andreas Schneider1-8/+8
2009-07-27Public key authentication server sidemilo3-5/+157
2009-07-27Add ssh_file_readaccess_ok to check read access on a file.Andreas Schneider1-0/+9
2009-07-27Add a function to close the socket.Andreas Schneider1-5/+15
This fixes ssh_connect on Windows.
2009-07-27Fix a typo.Andreas Schneider1-1/+2
2009-07-25Switch completly to stdint types.Andreas Schneider15-189/+189
2009-07-25Fix conflicting declarations of ssh_session and ssh_kbdint.Andreas Schneider7-17/+17
2009-07-25Fix return value of sftp_tell64().Andreas Schneider1-1/+1
2009-07-25Update map file for ssh_clean_pubkey_hash;Andreas Schneider1-1/+1
2009-07-25Add a sftp_tel64() function.Andreas Schneider2-1/+6
2009-07-25Add ssh_clean_pubkey_hash() which is needed on Windows.Andreas Schneider1-0/+16
2009-07-25Update map file.Andreas Schneider1-0/+1
2009-07-25Add sftp_readlink function.Andreas Schneider1-0/+74
2009-07-25Add sftp_symlink function.Andreas Schneider1-0/+83
2009-07-24Missed something in channel_select for CHANNELAris Adamantiadis1-1/+1