summaryrefslogtreecommitdiffhomepage
path: root/cli-runopts.c
AgeCommit message (Collapse)Author
2021-08-19added option to disable trivial auth methods (#128)Manfred Kaiser
* added option to disable trivial auth methods * rename argument to match with other ssh clients * fixed trivial auth detection for pubkeys
2020-05-26Make "dbclient -m help -c help" workMatt Johnston
2019-03-21fix constness build errorMatt Johnston
2019-03-20support openssh long option -o Port=XXXX (#68)xcko
2018-02-16options: Complete the transition to numeric toggles (`#if')Michael Witten
For the sake of review, this commit alters only the code; the affiliated comments within the source files also need to be updated, but doing so now would obscure the operational changes that have been made here. * All on/off options have been switched to the numeric `#if' variant; that is the only way to make this `default_options.h.in' thing work in a reasonable manner. * There is now some very minor compile-time checking of the user's choice of options. * NO_FAST_EXPTMOD doesn't seem to be used, so it has been removed. * ENABLE_USER_ALGO_LIST was supposed to be renamed DROPBEAR_USER_ALGO_LIST, and this commit completes that work. * DROPBEAR_FUZZ seems to be a relatively new, as-yet undocumented option, which was added by the following commit: commit 6e0b539e9ca0b5628c6c5a3d118ad6a2e79e8039 Author: Matt Johnston <matt@ucc.asn.au> Date: Tue May 23 22:29:21 2017 +0800 split out checkpubkey_line() separately It has now been added to `sysoptions.h' and defined as `0' by default. * The configuration option `DROPBEAR_PASSWORD_ENV' is no longer listed in `default_options.h.in'; it is no longer meant to be set by the user, and is instead left to be defined in `sysoptions.h' (where it was already being defined) as merely the name of the environment variable in question: DROPBEAR_PASSWORD To enable or disable use of that environment variable, the user must now toggle `DROPBEAR_USE_DROPBEAR_PASSWORD'. * The sFTP support is now toggled by setting `DROPBEAR_SFTPSERVER', and the path of the sFTP server program is set independently through the usual SFTPSERVER_PATH.
2018-01-26bind to port as well with -bMatt Johnston
2018-01-26cli_bind_address_connecthouseofkodai
* replaces -b dummy option in dbclient to be similar with openssh -b option * useful in multi-wan connections
2017-06-02when pointer, use NULL instead of 0Francois Perrad
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-03-16fix empty C prototypesFrancois Perrad
2016-03-16add comment FALLTHROUGH which recognize by many lint toolsFrancois Perrad
2016-01-05Fix print format specifierChocobo1
2015-12-15revert removal of space handling, different fix for avoiding option prefixMatt Johnston
matches
2015-12-15Don't allow spaces and don't get confused by -o usesyslogd=yesMatt Johnston
(option name has another option name as a prefix)
2015-12-15unknown options should be non-fatalMatt Johnston
2015-12-15A few minor style fixesMatt Johnston
2015-12-15Use dropbear_log instead of some fprintf's in client code.Konstantin Tokarev
2015-12-15Support syslog logging in dbclient.Konstantin Tokarev
2015-12-15Moved usingsyslog from svr_runopts to runopts.Konstantin Tokarev
2015-11-30Implemented ExitOnForwardFailure option for local and remote forwarding.Konstantin Tokarev
2015-11-30Added OpenSSH-like -o command line option to dbclient.Konstantin Tokarev
Like in OpenSSH, whitespaces are ignored, key and value may be separated by one '=' character. For now only yes/no flag parsing is implemented.
2015-11-23Fix flags after the hostnameMatt Johnston
2015-11-23Bundling for dbclientGuilhem Moulin
2015-10-28Warn rather than fail if flags have trailing partsMatt Johnston
2015-10-21don't silently ignore extra flag argumentsMatt Johnston
2015-08-03change DROPBEAR_DEFAULT_CLI_AUTHKEY to just prepend homedirMatt Johnston
rather than doing ~ expansion
2015-06-03Fix building when ENABLE_CLI_PUBKEY_AUTH is unsetMatt Johnston
2015-01-28Disable non-delayed zlib for serverMatt Johnston
2015-01-24Default client key path ~/.ssh/id_dropbearMatt Johnston
2014-08-06Be a bit safer in case pw_name doesn't existMatt Johnston
2014-08-06Try without identifying current useriquaba
Small change that warns the user if the current user cannot be identified rather than aborting. This came in handy when I put dropbear on a dlink that did not have a true user environment. Falling back on the "-l" option and user@ options works just fine as a client. The only implication I found is that the -J option will fail ungracefully without a known own_user.
2014-07-27Add '-V' for versionMatt Johnston
-h should exit with success Update manpages
2014-07-09Make -K keepalive behave like OpenSSH's ServerAliveIntervalMatt Johnston
2014-02-15Change port separator to ^ since % is used in ipv6 addressesMatt Johnston
2013-11-14use oldstyle commentsMatt Johnston
2013-11-12Various cleanups and fixes for warningsMatt Johnston
--HG-- branch : ecc
2013-07-08strdup the proxycmd to avoid crash when freeing, from LluĂ­s Batlle i RossellMatt Johnston
2013-04-17Use % rather than # for port delimiterMatt Johnston
2013-04-17Use '#' for host#port separator, document it. This fixes scpMatt Johnston
in multihop
2013-04-15changelog updates for 2013.57Matt Johnston
2013-04-14-y -y to disable hostkey checkingMatt Johnston
fix missing trailing space when passing arguments for multihop mode From Hans Harder
2013-03-21Add URL to usage textMatt Johnston
2013-03-03improve subsystem/sftp documentation, and multi-hop manual formattingMatt Johnston
2012-05-17Add rough support for choosing ciphers/hashes with "-c" or "-m"Matt Johnston
2012-05-09Initialise agent_fd to -1 so we don't end up closing stdin (fd 0)Matt Johnston
if public key authentication is disabled
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2010-02-27- fixes for listenaddrMatt Johnston
--HG-- extra : convert_revision : 9eebe96bb7c26c4c09c77a2e89a67a7332abcd49
2010-02-27- tcpfwd bindaddr support against trunk. needs merging.Matt Johnston
--HG-- extra : convert_revision : 658fd03abd21e0da7c4c89b9fff9dc693c72daae
2009-09-11- Disable compression for non-final multihopsMatt Johnston
--HG-- extra : convert_revision : c507a2aacb9e0db4c0266891b8915c614e32857e
2009-09-10Remove extraneous semicolonMatt Johnston
--HG-- extra : convert_revision : ea33f9576dd0ff344d6f1d150a01265470f56131