Andreas Schneider
|
ac785e0aa3
|
examples: The exec example should be like tutorial one.
|
2011-02-08 10:54:25 +01:00 |
|
Andreas Schneider
|
9e40e60bc4
|
examples: Check return values of write.
|
2011-02-05 15:23:19 +01:00 |
|
Andreas Schneider
|
d67cbdc926
|
examples: Fixed compilation on Windows.
|
2011-01-24 15:25:50 +01:00 |
|
Andreas Schneider
|
a63dbc07f3
|
examples: Fixed knownhosts on Windows.
|
2011-01-24 13:55:05 +01:00 |
|
Andreas Schneider
|
6a3cd6c20f
|
examples: enable exec and senddata on all plattforms.
|
2011-01-24 13:55:05 +01:00 |
|
Andreas Schneider
|
8a9ce6239a
|
examples: Remove unused header file.
|
2011-01-24 13:55:05 +01:00 |
|
Andreas Schneider
|
f3685f0f73
|
examples: Use ssh_getpass().
|
2011-01-24 13:55:05 +01:00 |
|
Andreas Schneider
|
8abdaa7abf
|
examples: Start to build examples on more plattforms.
|
2011-01-23 18:57:35 +01:00 |
|
Aris Adamantiadis
|
0b46f68c5f
|
Fixed compilation without argp.h available
|
2011-01-13 21:21:19 +01:00 |
|
Andreas Schneider
|
d1e1103198
|
examples: Improve the authenticate_kbdint function.
The function excepts a predefined password now. It will try to use it if
the prompt is a Password prompt. This works in 80% of the cases.
|
2011-01-08 10:18:55 +01:00 |
|
Andreas Schneider
|
dfa01d0862
|
examples: Use the src mode in scp do_copy function.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
|
2011-01-06 10:15:01 +01:00 |
|
Andreas Schneider
|
14d6b8856f
|
example: Fixed gcc warning.
|
2010-12-18 14:05:06 +01:00 |
|
Aris Adamantiadis
|
b6901ec4b9
|
Fix senddata.c for 32bits machines
|
2010-10-27 22:53:20 +02:00 |
|
Aris Adamantiadis
|
41c4e1f5c8
|
Completed senddata example to exit someday
|
2010-09-26 23:11:07 +02:00 |
|
Aris Adamantiadis
|
75a0281a6b
|
Fixed outgoing flow control + writes behaviours
|
2010-09-26 22:33:58 +02:00 |
|
Aris Adamantiadis
|
1834ca3820
|
Added a SSH_NO_CPP_EXCEPTIONS mode to libsshpp.h
|
2010-08-27 11:53:38 +02:00 |
|
Andreas Schneider
|
5aa4592f0c
|
example: Fixed build of samplesshd.
|
2010-08-10 00:32:51 +02:00 |
|
milo
|
855b73de87
|
server: Split ssh_bind_accept and create ssh_handle_key_exchange.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
|
2010-08-10 00:30:25 +02:00 |
|
Aris Adamantiadis
|
136f4d3b0d
|
Removed unnecessary headers in samplesshd
|
2010-08-09 22:08:43 +02:00 |
|
Andreas Schneider
|
39c9a6dfed
|
server: Merge ssh_bind_accept.
|
2010-08-09 21:28:47 +02:00 |
|
Andreas Schneider
|
561df8d9a2
|
server: Rename ssh_accept to ssh_bind_accept.
|
2010-08-09 20:54:43 +02:00 |
|
milo
|
48a20a6137
|
example: Fixed the sample ssh server implementation.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
|
2010-08-09 20:54:40 +02:00 |
|
Aris Adamantiadis
|
a8efffa969
|
New example for port forwarding
Conflicts:
examples/CMakeLists.txt
|
2010-07-16 23:14:47 +02:00 |
|
Aris Adamantiadis
|
08bc076a0a
|
New sample that writes a lot of data on channel
|
2010-05-17 20:08:10 +02:00 |
|
Aris Adamantiadis
|
b23b3f1d99
|
Sanitize libssh namespace + legacy wrappers
|
2010-05-14 00:51:08 +02:00 |
|
Aris Adamantiadis
|
74c9c1afa9
|
Added code to test proxycommand
Conflicts:
examples/sample.c
|
2010-05-10 22:44:06 +02:00 |
|
Aris Adamantiadis
|
7d32ec5d28
|
Fix warnings found with clang analyzer
|
2010-04-28 19:36:39 +02:00 |
|
Aris Adamantiadis
|
fa294e8603
|
Fix select loop in sample
|
2010-04-24 23:22:00 +02:00 |
|
Aris Adamantiadis
|
6cdbc01208
|
Fixes infinite loops
Thanks to Xi Wang for the patches
|
2010-04-24 22:46:19 +02:00 |
|
Andreas Schneider
|
1a894b65d4
|
Fixed build warning in the sshd example.
|
2010-03-29 22:47:22 +02:00 |
|
Andreas Schneider
|
6e82193175
|
Fixed build warnings of the scp example.
|
2010-03-29 22:46:03 +02:00 |
|
Andreas Schneider
|
32ac1e04ec
|
Fixed build warnings of the ssh client example.
|
2010-03-29 22:44:20 +02:00 |
|
Andreas Schneider
|
a47a9ecad1
|
Fixed build warnings in the knownhosts example.
|
2010-03-29 22:38:38 +02:00 |
|
Andreas Schneider
|
d07aef725e
|
Fixed build warnings in the exec example.
|
2010-03-29 22:38:21 +02:00 |
|
Andreas Schneider
|
ec3af2c5cb
|
Added printout of owner and group in the sftp example.
|
2010-02-24 00:27:02 +01:00 |
|
Aris Adamantiadis
|
f8d0055503
|
More C++ work
|
2010-02-12 22:17:50 +01:00 |
|
Aris Adamantiadis
|
92ca76721a
|
More C++ wrapper work.
Wrote stubs of functions needed in the wrapper
Created an Exception class which greatly simplifies
the use of libssh in C++
|
2010-02-11 23:08:07 +01:00 |
|
Aris Adamantiadis
|
48ba9c9bc1
|
stub of C++ wrapper for libssh
|
2010-01-21 21:54:20 +01:00 |
|
Aris Adamantiadis
|
1b15896e8b
|
Fix infinite loop in exec example
|
2010-01-03 23:15:55 +01:00 |
|
Aris Adamantiadis
|
bfdc48e320
|
Simplification of the "exec" sample
|
2009-12-24 10:46:46 +01:00 |
|
Andreas Schneider
|
d0647afae5
|
Added an example for exec.
|
2009-12-22 18:34:23 +01:00 |
|
Aris Adamantiadis
|
46b2b99f63
|
Fix strange error message in sample authentication
|
2009-12-13 19:53:32 +01:00 |
|
Aris Adamantiadis
|
56cfb8036f
|
Build the pcap code into example in all cases
|
2009-11-27 18:08:53 +01:00 |
|
Aris Adamantiadis
|
ae11589205
|
Pcap: more cleanup and minimalist API
|
2009-11-16 23:20:16 +01:00 |
|
Aris Adamantiadis
|
02aecc1278
|
Improved pcap dumping support
|
2009-11-16 22:36:31 +01:00 |
|
Aris Adamantiadis
|
10f27457d3
|
Add an other (simplier ?) polling method to sample
|
2009-11-08 20:00:23 +01:00 |
|
Aris Adamantiadis
|
af1f431364
|
change buffer size in sample.c
|
2009-11-07 17:35:24 +01:00 |
|
Aris Adamantiadis
|
272a4d1e45
|
Refactorize sample.c
|
2009-11-07 17:23:06 +01:00 |
|
Aris Adamantiadis
|
3a95ecfe74
|
move authentication out of sampe.c
|
2009-11-07 03:45:27 +01:00 |
|
Aris Adamantiadis
|
14ae9a7f0c
|
Moved sftp parts into a new example
|
2009-11-06 19:21:18 +01:00 |
|
Andreas Schneider
|
efded18724
|
Fixed compilation of samplesshd.
|
2009-11-05 16:38:05 +01:00 |
|
Aris Adamantiadis
|
5e002635fc
|
Fix compilation on freebsd 6.0 which lacks argp.h
|
2009-11-03 21:04:36 +01:00 |
|
Aris Adamantiadis
|
e455f6f756
|
Make libssh_scp a little more consistant
|
2009-10-29 10:50:47 +01:00 |
|
Andreas Schneider
|
86620fc991
|
Improve example authentication.
|
2009-10-15 17:56:03 +02:00 |
|
Andreas Schneider
|
f0858ff6b2
|
Added option parsing using GNU argp.
|
2009-10-15 17:17:58 +02:00 |
|
Andreas Schneider
|
2523ed0779
|
Added an option to set the port as string.
|
2009-10-15 17:02:51 +02:00 |
|
Aris Adamantiadis
|
e74305c5eb
|
updated the sftp subsystem to follow the type conv
|
2009-10-10 20:55:17 +02:00 |
|
Aris Adamantiadis
|
399041180f
|
resolve callback crash
|
2009-10-10 16:25:40 +02:00 |
|
Aris Adamantiadis
|
37a4a65d60
|
Add ssh_free at the end
|
2009-10-10 12:04:16 +02:00 |
|
Andreas Schneider
|
ccd886feb4
|
Added auth callback function to sample to test callback stuff.
|
2009-10-10 11:55:42 +02:00 |
|
Aris Adamantiadis
|
1e0e8a5493
|
samplessh uses ssh_options_getopt()
|
2009-10-09 22:28:03 +02:00 |
|
Aris Adamantiadis
|
43e0d73b63
|
sample.c compiles now
|
2009-10-09 22:04:56 +02:00 |
|
Aris Adamantiadis
|
58294442d3
|
Moved samples into examples directory
|
2009-10-09 21:44:05 +02:00 |
|
Andreas Schneider
|
ab5b4c7cfe
|
Get rid of the options structure.
|
2009-10-02 20:26:14 +02:00 |
|
Aris Adamantiadis
|
5223fa5740
|
Shut up warning in libssh_scp
|
2009-09-23 11:43:06 +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
|
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
|
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
|
86e6444656
|
Begin of scp reading in example
|
2009-09-13 14:03:33 +03:00 |
|
Aris Adamantiadis
|
1e1c13f756
|
some tweaks of scp example
|
2009-08-12 00:04:04 +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
|
b993579079
|
Got the scp sample to work
Problem was that the terminal was not needed, and some nul bytes were to be read.
|
2009-08-09 00:25:09 +02:00 |
|
Andreas Schneider
|
28a7343320
|
Fix project name in examples.
|
2009-07-30 11:11:00 +02:00 |
|
Aris Adamantiadis
|
ba217dec1c
|
First implementation of a scp transfer tool
Doesn't work yet. I've got a headache and debugging doesn't help.
|
2009-07-25 22:29:12 +02:00 |
|
Aris Adamantiadis
|
a935ad1857
|
New example directory with the begining of a scp
|
2009-07-25 17:03:01 +02:00 |
|