Andreas Schneider
e8e07f7376
Fix typo.
2009-09-25 09:37:56 +02:00
Andreas Schneider
1c5ae7dd97
Install callbacks header file.
2009-09-25 09:33:11 +02:00
Aris Adamantiadis
6b0a89a288
Get rid of CRYPTO
2009-09-23 23:55:07 +02:00
Aris Adamantiadis
f84ebc2e27
Moved lots of declaration out of priv.h
2009-09-23 23:51:04 +02:00
Aris Adamantiadis
b359229a2e
Change #defines to enums when it makes sense
2009-09-23 22:42:29 +02:00
Aris Adamantiadis
496a8e12d9
Get rid of SSH_MESSAGE
2009-09-23 22:19:11 +02:00
Aris Adamantiadis
0e8e124d20
get rid of SSH_OPTIONS
2009-09-23 22:13:19 +02:00
Aris Adamantiadis
9a8d4cd0fd
get rid of SSH_SESSION
2009-09-23 21:55:54 +02:00
Aris Adamantiadis
ffed8b03bb
remove the broken setters for options,cb init macro
2009-09-23 21:40:58 +02:00
Aris Adamantiadis
5bd38a5f37
Changed the current callback sys to be scalable
2009-09-23 21:30:56 +02:00
Aris Adamantiadis
ab60d1d678
Ordered functions in libssh.h alphabeticaly
2009-09-23 20:42:59 +02:00
Aris Adamantiadis
95558d54b0
Fix typos in SSH_OPTIONS
2009-09-23 11:21:12 +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
4133f484ae
Fixed building libssh with MSVC.
...
Thanks to Carlo Segato for the patch.
2009-09-21 12:23:47 +02:00
Aris Adamantiadis
7c7096d8f8
Limit the size of acceptable compressed packets
2009-09-16 22:29:22 +02:00
Andreas Schneider
4845642611
Added support for ~/.ssh/config.
2009-09-15 17:26:13 +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
07a9e6b7c6
Change scp API to use integers for perms
2009-09-13 14:03:33 +03: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
7c575a2418
Fix typedef collisons on Solaris.
2009-08-25 13:54:46 +02:00
Aris Adamantiadis
f3454d571e
ssh_scp_request_get_{filename,permissions,size}
2009-08-23 23:40:30 +02:00
Aris Adamantiadis
1df1f86f7e
added ssh_scp_read
2009-08-23 23:24:46 +02:00
Aris Adamantiadis
385b640d1d
Implementation of ssh_scp_pull_request
...
Still needed: code in ssh_scp_init,
implementation of ssh_scp_read
ssh_scp_request_get_filename,
ssh_scp_request_get_size,
ssh_scp_request_get_mode,
ssh_scp_deny_request
ssh_scp_accept_request
!!
2009-08-23 22:04:51 +02:00
Aris Adamantiadis
d4bc6fa954
Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
...
Conflicts:
include/libssh/priv.h
2009-08-23 16:41:29 +02:00
Aris Adamantiadis
8bae43876f
experimental callback system
2009-08-23 16:33:59 +02:00
Aris Adamantiadis
fbfea94559
Pending work
2009-08-23 16:29:31 +02:00
Aris Adamantiadis
6a04b43a45
added ssh_scp_request_new,ssh_scp_request_struct
2009-08-23 15:23:48 +02:00
Aris Adamantiadis
049c62098c
add ssh_scp_push_directory,ssh_scp_leave_directory
...
Not yet carefully tested
2009-08-23 14:57:03 +02:00
Andreas Schneider
330c2004a1
Make the functions public.
2009-08-21 10:17:58 +02:00
Andreas Schneider
0b10493e90
Added ssh_basename() and ssh_dirname().
2009-08-21 10:16:36 +02:00
Andreas Schneider
461e46b814
Improve checks for Windows version and wspiapi.h.
2009-08-20 11:43:37 +02:00
Andreas Schneider
3eb21053d0
Add a portable define to print size_t.
2009-08-20 10:49:27 +02:00
Andreas Schneider
92db6f8c6d
Remove DEBUG_CRYPTO variable.
...
You can enable it with cmake -DWITH_DEBUG_CRYPTO:BOOL=TRUE.
2009-08-20 10:44:31 +02:00
Vic Lee
db6aa88bc4
Add forward listening feature
...
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-08-16 14:40:18 +02:00
Andreas Schneider
2dc3b5c675
Add sftp_extension_supported() function.
2009-08-12 17:13:42 +02:00
Andreas Schneider
e68c3b09a6
Add support for OpenSSH's statvfs and fstatvfs calls.
2009-08-12 17:13:42 +02:00
Andreas Schneider
0793bf5aa6
Set version number to 0.4.0.
2009-08-12 17:13:04 +02:00
Aris Adamantiadis
86418bfbbe
Merge branch 'master' of git://git.libssh.org/projects/libssh/libssh
2009-08-12 00:04:30 +02:00
Aris Adamantiadis
8dae851836
Make the calltrace logging optional
2009-08-12 00:03:36 +02:00
Andreas Schneider
db284d60b9
Fix static build.
...
If you want to link against the static library you have to define
LIBSSH_STATIC and link against ssh_static.
gcc -static -DLIBSSH_STATIC -lssh_static foo.c -o foo
2009-08-11 18:16:43 +02:00
Andreas Schneider
9b13390ad0
Use gcc visibility attribute to get rid of the map file.
2009-08-11 17:10:00 +02:00
Andreas Schneider
5e4bc6ec79
Fix compilation with MSVC and use declspec to export functions.
...
Thanks to Patrick Spendrin <ps_ml@gmx.de> for all the MSVC fixes.
2009-08-11 15:38:49 +02:00
Aris Adamantiadis
7e9f0803c5
Latest scp code
...
The sample is now able to scp a file
2009-08-10 22:59:35 +02:00
Aris Adamantiadis
f92e12c7b0
ssh_scp_push_file and ssh_scp_write
...
still needs tests
2009-08-09 22:51:03 +02:00
Aris Adamantiadis
e4da8b99fe
Initial scp implementation in source tree
2009-08-09 02:01:54 +02:00
Andreas Schneider
e9974c2053
Remove ssh_fd_poll which is gone.
2009-08-05 17:38:43 +02:00