Aris Adamantiadis
ab60d1d678
Ordered functions in libssh.h alphabeticaly
2009-09-23 20:42:59 +02:00
Aris Adamantiadis
5223fa5740
Shut up warning in libssh_scp
2009-09-23 11:43:06 +02:00
Aris Adamantiadis
95558d54b0
Fix typos in SSH_OPTIONS
2009-09-23 11:21:12 +02:00
Andreas Schneider
068a7dfc49
Fixed bindport in getop function.
2009-09-22 20:36:57 +02:00
Andreas Schneider
abd8b17a04
Fixed options used in server sample.
2009-09-22 20:34:23 +02:00
Andreas Schneider
343e6e482a
Added handling of bindport in getopt.
2009-09-22 20:33:58 +02:00
Andreas Schneider
aae1df0589
Use new options interface in sample code.
2009-09-22 20:27:53 +02:00
Aris Adamantiadis
0a57ebb3a9
Fix README file which is really obsolete
2009-09-22 16:51:28 +02:00
Bernhard R. Link
9afad28255
fix copy&paste error
...
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-09-22 14:04:42 +02:00
Andreas Schneider
8b21b51a78
Use new ssh options interface in auth functions.
2009-09-22 13:32:06 +02:00
Andreas Schneider
2003a81b44
Use new ssh options interface in keyfiles.
2009-09-22 13:20:23 +02:00
Andreas Schneider
abe6c7c728
Use new options interface in server code.
2009-09-22 13:17:35 +02:00
Andreas Schneider
f78045dfd3
Use the new options interface in config parser.
2009-09-22 13:14:23 +02:00
Andreas Schneider
39729bd3de
Use the new options function in deprecated functions.
2009-09-22 13:14:23 +02:00
Andreas Schneider
f6d2a66de2
Added a cleaned up interface for setting options.
2009-09-22 13:14:16 +02:00
Andreas Schneider
7de3122b42
Added a userdata generic pointer to the log callback function.
2009-09-22 12:28:07 +02:00
Andreas Schneider
88f4e9ea24
Added more logging output for publickey auth.
2009-09-21 15:54:49 +02:00
Andreas Schneider
4133f484ae
Fixed building libssh with MSVC.
...
Thanks to Carlo Segato for the patch.
2009-09-21 12:23:47 +02:00
Aris Adamantiadis
041aff8060
Fix binding found by Bernhard R. Link
2009-09-19 19:35:55 +02:00
Aris Adamantiadis
7c7096d8f8
Limit the size of acceptable compressed packets
2009-09-16 22:29:22 +02:00
Andreas Schneider
fd7b7bc3b5
Added Solaris support for the build script.
...
Thanks to tysonite.
2009-09-16 14:47:45 +02:00
Andreas Schneider
bb034e8e1d
Set package number to first beta release.
2009-09-15 23:07:24 +02:00
Andreas Schneider
d37a475816
Improve documentation of ssh_options_parse_config().
2009-09-15 18:06:19 +02:00
Andreas Schneider
4845642611
Added support for ~/.ssh/config.
2009-09-15 17:26:13 +02:00
Andreas Schneider
de8808cb47
Fixed build with mingw.
2009-09-15 10:43:09 +02:00
Aris Adamantiadis
ca978a9e81
Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
2009-09-14 23:19:11 +02:00
Aris Adamantiadis
ffca268bee
Add warning in channel_open_forward documentation
...
Tell users it does not do magic (yet)
2009-09-14 23:18:07 +02:00
Andreas Schneider
6a3d31acb7
Fix a possible stack overflow in agent code.
2009-09-14 19:01:20 +02:00
Aris Adamantiadis
f28352707a
Fix the security bug found by Orange Labs
...
Verify the length of decrypt operation is a multiple of blocksize
2009-09-13 22:07:01 +02:00
Aris Adamantiadis
4b363928f6
SCP warning request
2009-09-13 14:03:35 +03:00
Aris Adamantiadis
929f5ca25b
scp recursive mode
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
7ff80a2666
Add better error detection + EOF request
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
480dfd9050
add scp_download.c example
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
bdb32afa20
Cycle the fetchs, remove the ssh_connect function
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
f90ae73b6d
Refactored the connect_ssh example function
...
into a new file
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
7fed54b1e5
Fix scp pull bug + scp logging
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
d5840aa1f0
add support for local output, scp input
...
Still needs to be debugged and improved but the idea it there
2009-09-13 14:03:34 +03:00
Aris Adamantiadis
6f2225e8fb
fix ssh_scp_string_mode() bug + debug msgs
2009-09-13 14:03:33 +03:00
Aris Adamantiadis
07a9e6b7c6
Change scp API to use integers for perms
2009-09-13 14:03:33 +03:00
Aris Adamantiadis
86e6444656
Begin of scp reading in example
2009-09-13 14:03:33 +03:00
Andreas Schneider
8ef62cf784
Fixed fstatvfs function.
2009-09-10 18:57:58 +02:00
Andreas Schneider
8051ab044c
Reformat lowercase function.
2009-09-10 14:37:09 +02:00
Dmitry V. Krivenok
18bce13617
Fixed possible memory leak in lowercase function.
...
If user passed NULL pointer to lowercase() function, duplicated
string "new" wasn't freed before return.
Signed-off-by: Dmitry V. Krivenok <krivenok@orangesystem.ru>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-09-10 14:35:02 +02:00
Dmitry V. Krivenok
2a10019f82
Fixed "var is uninitialized" bug.
...
gcc-4.4.1 reported:
/home/krivenok/dev_builds/libssh/libssh/sftp.c:2700: warning: 'sftp' is used uninitialized in this function
sftp is NULL-initialized now.
Signed-off-by: Dmitry V. Krivenok <krivenok@orangesystem.ru>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-09-10 12:35:11 +02:00
Dmitry V. Krivenok
df4c62212c
Support for sending signals (RFC 4254, section 6.9).
...
Added function
int channel_request_send_signal(ssh_channel channel, const char *signal);
which implements signals delivery (as described in RFC 4254).
Only SSH-v2 is currently supported.
Signed-off-by: Dmitry V. Krivenok <krivenok@orangesystem.ru>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-09-10 12:34:58 +02:00
Andreas Schneider
97b6036cbf
Add a portable ssh_mkdir function for Windows.
2009-09-09 13:42:00 +02:00
Andreas Schneider
df4f7ed5b8
Fix the free calls and use the safe free macro.
2009-09-03 17:22:34 +02:00
Andreas Schneider
0792c015d6
Add missing NULL pointer checks to crypt_set_algorithms_server.
...
Thanks to Orange Labs for the report.
2009-09-03 17:20:06 +02:00
Andreas Schneider
8344598910
Fix an integer overflow in buffer_get_data().
...
Thanks to Orange Labs for the report.
2009-09-03 17:11:42 +02:00
Andreas Schneider
16870abed7
Add more warnings to gcc.
2009-09-01 11:03:48 +02:00