Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-11-08 | examples: Build server examples on Linux too | Andreas Schneider | 1 | -2/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2017-11-07 | examples: Rename samplessh to ssh-client | Andreas Schneider | 2 | -2/+2 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2017-08-25 | examples: Fix fallthrough compiler warnings | Andreas Schneider | 1 | -0/+4 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-11-05 | examples: Reformat usage() function | Andreas Schneider | 1 | -12/+15 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-05-04 | examples: Fix endif() | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-05-03 | examples: Fix building on FreeBSD | Andreas Schneider | 1 | -2/+5 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-05-02 | sample: Migrate client to connector API | Aris Adamantiadis | 1 | -203/+33 | |
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-05-02 | examples: Do not usre deprecated functions | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-03-17 | cmake: Try to fix FindArgp module | Andreas Schneider | 1 | -5/+5 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-03-14 | cmake: detect argp.h on osx | Aris Adamantiadis | 1 | -4/+1 | |
2016-01-19 | buffer: use ssh_buffer_get() instead of ssh_buffer_get_begin() | Fabiano FidĂȘncio | 1 | -2/+2 | |
This commit is a preparatory stage for removing ssh_buffer_get_begin(). Note that removing ssh_buffer_get_begin() doesn't break API compatibility, as this functions has never been exposed (it only has the LIBSSH_API prefix). Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-01-14 | examples: Do not include internal headers in ssh_server_fork | Andreas Schneider | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-05-05 | example: Fix a use after free in the scp example | Andreas Schneider | 1 | -0/+1 | |
CID: #1032343 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-05-05 | example: Check return value of ssh_get_fd() | Andreas Schneider | 1 | -2/+11 | |
CID: #1199454 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2015-01-20 | examples: Use safer names for stdin, stdout, stderr | William Orr | 1 | -20/+20 | |
BUG: https://red.libssh.org/issues/168 On some platforms, like OpenBSD, stdin and friends are macros which break compilation of this struct. I've fixed these names such that it compiles and runs cleanly on OpenBSD Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-04-14 | examples: Fix a bad shift if ssh_get_fd() returns -1. | Andreas Schneider | 1 | -2/+12 | |
Found by Coverity. CID: #1199454 | |||||
2014-04-09 | examples: Update ssh_server_fork for new SSH_BIND_OPTIONS_HOSTKEY | Alan Dunn | 1 | -4/+6 | |
Tested by ssh_server_fork -k <an ecdsa key> -k <an rsa key> ... and connection succeeded with OpenSSH clients both for ECDSA and RSA (the latter forced via -o HostKeyAlgorithms=ssh-rsa and some known hosts clearing was necessary). Also ssh_server_fork -k <an ecdsa key> -k <another ecdsa key> ... caused the second key to be used, as expected. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-03-27 | examples: Add ECDSA key option to ssh_server_fork | Alan Dunn | 1 | -4/+22 | |
Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-03-27 | examples: Add no default keys options to ssh_server_fork | Alan Dunn | 1 | -5/+40 | |
It seems useful to be able to run ssh_server_fork without being required to load some key of RSA and DSA keytypes. However, with the current ssh_server_fork, you need to have some keys as some default value is set by default and you can't unset the value for a keytype (e.g. by using NULL as an argument). So the "no default keys" argument turns off the default key assignments. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-02-17 | examples: Add missing include for stderr. | Andreas Schneider | 1 | -0/+1 | |
This should fix the build on FreeBSD. | |||||
2014-02-16 | cmake: Merge server examples. | Andreas Schneider | 1 | -7/+5 | |
2014-02-16 | examples: Remove old samplesshd-tty. | Andreas Schneider | 2 | -475/+0 | |
2014-02-16 | examples: Remove old samplesshd. | Andreas Schneider | 2 | -317/+0 | |
2014-02-16 | examples: Add ssh_server_fork example | Audrius Butkevicius | 2 | -0/+644 | |
Signed-off-by: Audrius Butkevicius <audrius.butkevicius@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-02-14 | examples: Add missing include on FreeBSD. | Andreas Schneider | 1 | -0/+3 | |
2014-01-16 | src: Do not use deprecated functions. | Andreas Schneider | 2 | -18/+18 | |
2014-01-07 | example: Add missing include for forkpty(). | Andreas Schneider | 1 | -0/+3 | |
2013-12-26 | examples: Fix building samplesshd-tty on FreeBSD. | Andreas Schneider | 1 | -2/+2 | |
2013-11-27 | examples: Fix else branch. | Andreas Schneider | 1 | -1/+2 | |
CID #1127816 | |||||
2013-11-06 | example: Use ssh_get_publickey_hash(). | Andreas Schneider | 1 | -4/+16 | |
2013-11-03 | examples: fix forktty() warning on OSX | Aris Adamantiadis | 1 | -1/+3 | |
2013-11-03 | Fix examples compilation on OSX (libargp) | Aris Adamantiadis | 2 | -3/+5 | |
2013-07-24 | cmake: Rewrote FindGSSAPI.cmake. | Andreas Schneider | 1 | -2/+2 | |
2013-07-24 | example: Fix a memory leak on error in tty server. | Andreas Schneider | 1 | -0/+1 | |
CID: #1032746 | |||||
2013-07-23 | cmake: Don't build examples on Windows but on Unix. | Andreas Schneider | 1 | -15/+14 | |
2013-07-23 | cmake: Check for unistd.h. | Andreas Schneider | 3 | -5/+18 | |
2013-07-22 | example: Fix location of port definition. | Andreas Schneider | 1 | -2/+2 | |
It shouldn't be inside #ifdef HAVE_ARGP. | |||||
2013-07-14 | examples: Check return value of fstat(). | Andreas Schneider | 1 | -1/+4 | |
CID #743297 | |||||
2013-07-14 | examples: Make sure we have a valid scp pointer. | Andreas Schneider | 1 | -1/+9 | |
CID #1032343 | |||||
2013-07-14 | examples: Check return value of ssh_event_dopoll(). | Andreas Schneider | 1 | -2/+7 | |
CID #0 | |||||
2013-07-14 | examples: Remove ssh_log from ssh client example. | Andreas Schneider | 2 | -23/+0 | |
2013-07-14 | examples: fix warning | Aris Adamantiadis | 1 | -1/+0 | |
2013-07-14 | examples: fix compilation warnings | Aris Adamantiadis | 1 | -2/+1 | |
2013-07-13 | cmake: Make GSSAPI optional. | Andreas Schneider | 1 | -4/+6 | |
2013-07-13 | examples: fix with new gssapi cb API | Aris Adamantiadis | 2 | -17/+15 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-07-13 | examples: adapt samplesshd-cb to new callback | Aris Adamantiadis | 1 | -5/+5 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-07-13 | examples: adapt to the new callback format | Aris Adamantiadis | 1 | -5/+6 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-07-13 | Examples: Exemple of an SSH proxy | Aris Adamantiadis | 2 | -0/+350 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-07-13 | gssapi: retrieve forwarded (delegated) tickets | Aris Adamantiadis | 1 | -0/+7 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-07-13 | auth: implement client-side gssapi | Aris Adamantiadis | 1 | -0/+9 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> |