aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/bind_config.h
AgeCommit message (Collapse)AuthorFilesLines
2019-06-12bind_config: Add support for HostKeyAlgorithmsAnderson Toshiyuki Sasaki1-0/+1
Add support for setting the allowed HostKey algorithms through configuration file. Note that this does NOT add support for adding or removing values using '+' or '-'. Only replacing the whole list is supported. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-06-12bind_config: Add support for PubkeyAcceptedKeyTypesAnderson Toshiyuki Sasaki1-0/+1
Add support for setting the accepted public key types through configuration file. Note that this does NOT add support for adding or removing values using '+' or '-'. Only replacing the whole list is supported. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-04-01bind_config: Added minimal support for Match keywordAnderson Toshiyuki Sasaki1-0/+3
Only "Match All" is supported, if any other criterion is used, the block is ignored and the options are not applied. It is important to note that only a subset of the supported keywords are allowed to be used inside a Match block, currently being "LogLevel" the only supported keyword. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-01bind_config: Support server side configurationAnderson Toshiyuki Sasaki1-0/+59
Introduced the support to set options for a given ssh_bind through a configuration file. For options set more than once in a single file (or by files included in it recursively) the first value set will be kept. Differently from the session options configuration, if an option previously set in one configuration file is redefined in a later processed file, the latest will be kept. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>