summaryrefslogtreecommitdiffstats
path: root/src/options.c
Commit message (Collapse)AuthorAgeFilesLines
* options: Fix setting the port.Andreas Schneider2014-12-251-3/+6
| | | | | | | Make sure we correctly read the port from the config file. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit bb18442fe8f58a483713eb2b988b3da9869ddf86)
* Set the correct error in ssh_options_set().Hani Benhabiles2014-12-051-2/+2
| | | | | | Signed-off-by: Hani Benhabiles <hani@linux.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 03095f1516b7f5b8b0d55f05fa9a39bae68ee8fe)
* doc: Improve and consolidate ssh_bind_options_set docsAlan Dunn2014-03-271-48/+53
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 47bd0b6d1f3176a4539c22741848d37b9357175b)
* doc: Add ECDSA keys to docs, make key docs consistentAlan Dunn2014-03-271-1/+4
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit f6276fe73940dd35bbd4f95d3cf902bcf69f23f3)
* options: Allow use of host ECDSA keyAlan Dunn2014-03-271-23/+31
| | | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 2a1089d6079c14da8d24c996402e24a689a9f5d3)
* src: Update my mail address.Andreas Schneider2014-01-071-1/+1
|
* update copyright informationAris Adamantiadis2014-01-071-1/+1
|
* logging: fix server-side loggingAris Adamantiadis2013-11-181-2/+3
|
* options: Add SSH_OPTIONS_GSSAPI_DELEGATE_CREDENTIALS option.Simo Sorce2013-11-171-0/+15
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* options: Add SSH_OPTIONS_GSSAPI_CLIENT_IDENTITY option.Andreas Schneider2013-11-151-0/+18
|
* gssapi: Add suppport to set GSSAPI server identity.Andreas Schneider2013-11-151-0/+18
|
* doc: Fix doxygen warnings.Andreas Schneider2013-11-041-1/+1
|
* ssh_options_get can now return ProxyCommandWilliam Orr2013-11-021-0/+9
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* options: Fix compiler warning on Windows.Andreas Schneider2013-07-221-1/+2
|
* options: Set log level through options too.Andreas Schneider2013-07-211-0/+1
|
* options: Use the new function to use the log level.Andreas Schneider2013-07-141-2/+2
|
* options: Fix null ptr deference introduced in earlier fix.Aris Adamantiadis2013-07-131-0/+7
| | | | Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* BUG 103: Disable proxy command if set to 'none'.Andreas Schneider2013-07-111-4/+8
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* opts: Fix segfault in option parser.Andreas Schneider2013-06-021-3/+11
|
* options: Fix a free crash bug if we parse unknown options.Andreas Schneider2013-01-221-6/+8
| | | | Thanks to Yong Chuan Koh, X-Force Research <kohyc@sg.ibm.com>
* options: Fix documentation of ssh_options_get_port().Andreas Schneider2012-10-141-1/+1
|
* kex: Use getter functions to access kex arrays.Andreas Schneider2012-10-121-2/+2
| | | | This should fix the build on OpenIndiana.
* options: Check return code of ssh_iterator_value.Andreas Schneider2012-10-121-1/+5
| | | | Found by Coverity.
* options: Fix a memory in ssh_options_copy() on error.Andreas Schneider2012-10-051-0/+1
|
* options: Fix a memory leak if we can't add an idenity.Andreas Schneider2012-10-051-0/+1
|
* dh: Add support for diffie-hellman-group14-sha1.Dmitriy Kuznetsov2012-09-041-1/+1
|
* options: Add option to specify host keys string.Oliver Gasser2012-07-061-0/+15
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* session: Use a struct for all options.Andreas Schneider2012-02-051-91/+91
|
* Fix logic erorr with brace-less conditional statementLee Hambley2012-01-031-1/+2
|
* options: Fix typo in ssh_options_get() docs.Andreas Schneider2011-12-141-1/+1
|
* options: Add missing argument check.Andreas Schneider2011-11-031-0/+7
|
* Improve ssh_options_get(ssh_session, enum ssh_options_e, char**).Lee Hambley2011-11-031-31/+16
| | | | | | | * Use SSH_ERROR and SSH_OK instead of `-1` and `0`. * Re-factor for code duplication * No longer call `ssh_set_error_invalid(ssh_session)` when the ssh_session is NULL.
* Implement ssh_options_get_port(ssh_session, unsigned int*).Lee Hambley2011-10-281-0/+26
|
* Implement ssh_options_get(ssh_session, enum ssh_options_e, char**).Lee Hambley2011-10-281-0/+86
|
* priv: Move options and config prototypes to own header.Andreas Schneider2011-09-181-0/+1
|
* error: Use macros for error functions.Andreas Schneider2011-09-171-40/+40
|
* options: Fix NULL value handling.Andreas Schneider2011-09-061-34/+64
|
* options: Fix the ssh_options_set() function.Andreas Schneider2011-09-051-321/+368
| | | | | This is a refactor so that we check if the values are sane the user wants to set. If not return an error.
* misc: Remove session from ssh_get_local_username().Andreas Schneider2011-08-161-1/+1
|
* options: Allocate dest in ssh_options_copy().Andreas Schneider2011-08-111-70/+85
|
* Fixes the ssh_log issue on ssh_bind handles.Aris Adamantiadis2011-07-191-8/+8
|
* Test for ecdh and dh-group1Aris Adamantiadis2011-06-121-0/+14
|
* options: Remove unsused getopt option.Andreas Schneider2011-01-061-5/+1
| | | | Found by clang-analyzer http://test.libssh.org/clang-analyzer/
* Added compression options and allow "yes/no" settingAris Adamantiadis2010-12-271-15/+64
| | | | SSH_OPTION_COMPRESSION and SSH_OPTION_COMPRESSION_LEVEL options have been added. Now, end-level apps may simply choose to enable compression without knowing the relevant algorithms behind it.
* options: Remove unused variable.Andreas Schneider2010-12-211-4/+0
|
* Moved includes from priv.h to bind.hAris Adamantiadis2010-10-271-0/+1
|
* start of work to have callbackbased ssh_bindAris Adamantiadis2010-10-191-35/+35
|
* Adapt comments in options to give parameters typesAris Adamantiadis2010-10-151-161/+161
|
* Implemented zlib@openssh.com compressionAris Adamantiadis2010-10-041-2/+2
|
* options: Rename HOSTKEYCHECK to STRICTHOSTKEYCHECK.Andreas Schneider2010-09-281-2/+2
| | | | | Looks like people are confused by the name and think this is normal host key checking.