aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/bind.h
AgeCommit message (Collapse)AuthorFilesLines
2019-11-18Use only one variable denoting the size of methods arraysJakub Jelen1-1/+2
Previously, there was non-consistent usage of constans SSH_KEX_METHODS, KEX_METHODS_SIZE and of magic number 10 to reference the arrays used for algorithm negotiation by peers. This commit settles down to the single constant and its usage throughout the whole codebase. Fixes T195 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-06-12options: Add option to set server accepted pubkey typesAnderson Toshiyuki Sasaki1-0/+1
The added option SSH_BIND_OPTIONS_PUBKEY_ACCEPTED_KEY_TYPES allows restricting the allowed public key types accepted by the server for authentication. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-04-01options: Add a bind option to set the config directoryAnderson Toshiyuki Sasaki1-0/+1
This adds the SSH_BIND_OPTIONS_CONFIG_DIR which allows to set the directory used to expand the escape character "%d" when passing a path to ssh_bind_options_parse_file(). Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-01options: Introduce ssh_bind_options_parse_config()Anderson Toshiyuki Sasaki1-0/+1
The added API allows setting the options of a given bind context through a configuration file. The default global configuration file "/etc/ssh/libssh_server_config" is parsed before the provided configuration file, if it hasn't been parsed yet. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-02server: Add support for ed25519 keys in the server.Aris Adamantiadis1-0/+2
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-01-23include: Fix the LGPL header.Andreas Schneider1-12/+11
This has been reported by rpmlint: libssh-devel.x86_64: W: incorrect-fsf-address libssh.h
2012-02-19server: Add ecdsa hostkey support.Andreas Schneider1-0/+2
2011-08-15bind: Read only once in ssh_bind_listen() (bug #11).Andreas Schneider1-0/+2
2011-07-19Fixes the ssh_log issue on ssh_bind handles.Aris Adamantiadis1-5/+2
2010-10-27Moved includes from priv.h to bind.hAris Adamantiadis1-0/+53