Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples: Fix a bad shift if ssh_get_fd() returns -1. | Andreas Schneider | 2014-04-14 | 1 | -2/+12 |
| | | | | | | Found by Coverity. CID: #1199454 | ||||
* | examples: Update ssh_server_fork for new SSH_BIND_OPTIONS_HOSTKEY | Alan Dunn | 2014-04-09 | 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> | ||||
* | examples: Add ECDSA key option to ssh_server_fork | Alan Dunn | 2014-03-27 | 1 | -4/+22 |
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | examples: Add no default keys options to ssh_server_fork | Alan Dunn | 2014-03-27 | 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> | ||||
* | examples: Add missing include for stderr. | Andreas Schneider | 2014-02-17 | 1 | -0/+1 |
| | | | | This should fix the build on FreeBSD. | ||||
* | cmake: Merge server examples. | Andreas Schneider | 2014-02-16 | 1 | -7/+5 |
| | |||||
* | examples: Remove old samplesshd-tty. | Andreas Schneider | 2014-02-16 | 2 | -475/+0 |
| | |||||
* | examples: Remove old samplesshd. | Andreas Schneider | 2014-02-16 | 2 | -317/+0 |
| | |||||
* | examples: Add ssh_server_fork example | Audrius Butkevicius | 2014-02-16 | 2 | -0/+644 |
| | | | | | Signed-off-by: Audrius Butkevicius <audrius.butkevicius@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | examples: Add missing include on FreeBSD. | Andreas Schneider | 2014-02-14 | 1 | -0/+3 |
| | |||||
* | src: Do not use deprecated functions. | Andreas Schneider | 2014-01-16 | 2 | -18/+18 |
| | |||||
* | example: Add missing include for forkpty(). | Andreas Schneider | 2014-01-07 | 1 | -0/+3 |
| | |||||
* | examples: Fix building samplesshd-tty on FreeBSD. | Andreas Schneider | 2013-12-26 | 1 | -2/+2 |
| | |||||
* | examples: Fix else branch. | Andreas Schneider | 2013-11-27 | 1 | -1/+2 |
| | | | | CID #1127816 | ||||
* | example: Use ssh_get_publickey_hash(). | Andreas Schneider | 2013-11-06 | 1 | -4/+16 |
| | |||||
* | examples: fix forktty() warning on OSX | Aris Adamantiadis | 2013-11-03 | 1 | -1/+3 |
| | |||||
* | Fix examples compilation on OSX (libargp) | Aris Adamantiadis | 2013-11-03 | 2 | -3/+5 |
| | |||||
* | cmake: Rewrote FindGSSAPI.cmake. | Andreas Schneider | 2013-07-24 | 1 | -2/+2 |
| | |||||
* | example: Fix a memory leak on error in tty server. | Andreas Schneider | 2013-07-24 | 1 | -0/+1 |
| | | | | CID: #1032746 | ||||
* | cmake: Don't build examples on Windows but on Unix. | Andreas Schneider | 2013-07-23 | 1 | -15/+14 |
| | |||||
* | cmake: Check for unistd.h. | Andreas Schneider | 2013-07-23 | 3 | -5/+18 |
| | |||||
* | example: Fix location of port definition. | Andreas Schneider | 2013-07-22 | 1 | -2/+2 |
| | | | | It shouldn't be inside #ifdef HAVE_ARGP. | ||||
* | examples: Check return value of fstat(). | Andreas Schneider | 2013-07-14 | 1 | -1/+4 |
| | | | | CID #743297 | ||||
* | examples: Make sure we have a valid scp pointer. | Andreas Schneider | 2013-07-14 | 1 | -1/+9 |
| | | | | CID #1032343 | ||||
* | examples: Check return value of ssh_event_dopoll(). | Andreas Schneider | 2013-07-14 | 1 | -2/+7 |
| | | | | CID #0 | ||||
* | examples: Remove ssh_log from ssh client example. | Andreas Schneider | 2013-07-14 | 2 | -23/+0 |
| | |||||
* | examples: fix warning | Aris Adamantiadis | 2013-07-14 | 1 | -1/+0 |
| | |||||
* | examples: fix compilation warnings | Aris Adamantiadis | 2013-07-14 | 1 | -2/+1 |
| | |||||
* | cmake: Make GSSAPI optional. | Andreas Schneider | 2013-07-13 | 1 | -4/+6 |
| | |||||
* | examples: fix with new gssapi cb API | Aris Adamantiadis | 2013-07-13 | 2 | -17/+15 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | examples: adapt samplesshd-cb to new callback | Aris Adamantiadis | 2013-07-13 | 1 | -5/+5 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | examples: adapt to the new callback format | Aris Adamantiadis | 2013-07-13 | 1 | -5/+6 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Examples: Exemple of an SSH proxy | Aris Adamantiadis | 2013-07-13 | 2 | -0/+350 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | gssapi: retrieve forwarded (delegated) tickets | Aris Adamantiadis | 2013-07-13 | 1 | -0/+7 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | auth: implement client-side gssapi | Aris Adamantiadis | 2013-07-13 | 1 | -0/+9 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | examples:Compile samplessh on bsd too | Aris Adamantiadis | 2013-07-13 | 1 | -3/+3 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | example: adapt example for gssapi callback | Aris Adamantiadis | 2013-07-13 | 1 | -0/+10 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Added server example with callbacks impl | Aris Adamantiadis | 2013-07-13 | 2 | -0/+294 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Make examples more BSD friendly | Aris Adamantiadis | 2013-07-13 | 1 | -11/+15 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | Try to find ARGP on solaris, BSD | Aris Adamantiadis | 2013-07-13 | 1 | -0/+4 |
| | | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | ||||
* | examples: Check return value of fileno(). | Andreas Schneider | 2013-06-19 | 1 | -1/+5 |
| | |||||
* | examples: Fix a possible memory leak. | Andreas Schneider | 2013-06-19 | 1 | -0/+3 |
| | |||||
* | examples: Fix a possible memory leak. | Andreas Schneider | 2013-06-19 | 1 | -1/+9 |
| | |||||
* | sample: Fix a possible buffer overrun. | Andreas Schneider | 2013-06-17 | 1 | -2/+5 |
| | |||||
* | examples: Check return value of ssh_channel_read. | Andreas Schneider | 2013-06-17 | 1 | -2/+12 |
| | |||||
* | examples: Fix a use after free in scp example. | Andreas Schneider | 2013-06-13 | 1 | -1/+1 |
| | |||||
* | example: Simplify auth_callback of the client. | Andreas Schneider | 2012-10-09 | 1 | -24/+3 |
| | | | | Found by Coverity. | ||||
* | example: Clear the password. | Andreas Schneider | 2012-10-07 | 1 | -1/+4 |
| | |||||
* | example: Fix a build warning. | Andreas Schneider | 2012-10-07 | 1 | -1/+4 |
| | |||||
* | examples: Fix sparse warnings in sshd examples. | Andreas Schneider | 2012-02-19 | 2 | -14/+12 |
| |