diff options
author | John Crispin <john@openwrt.org> | 2011-04-01 10:55:23 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-04-01 10:55:23 +0000 |
commit | 9fd342d91377b56426ae756689a32d2416df0914 (patch) | |
tree | 92bab64398cd3a7d4ecf792b6e52937843d116ba /package/dropbear/patches | |
parent | 33b864e899ce622b02cddcf78b142c81bcc3658a (diff) | |
download | mtk-20170518-9fd342d91377b56426ae756689a32d2416df0914.zip mtk-20170518-9fd342d91377b56426ae756689a32d2416df0914.tar.gz mtk-20170518-9fd342d91377b56426ae756689a32d2416df0914.tar.bz2 |
r25831 reduced the size of the dropbear executable by, among other things,
disabling support for keyboard-interactive authentication. The default
sshd configuration on Mac OS X only permits keyboard-interactive and
public-key authentication, so unless a public key is set up, the default
OpenWrt ssh client is now unable to connect to Mac OS X hosts. This patch
re-enables keyboard-interactive authentication.
In my tests, this increases the size of the stripped dropbear executable
by 416 bytes on mips and 1,104 bytes on mipsel. In my opinion, such a
small space savings isn't worthwhile when the resultant executable is
severely hamstrung.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 26390
Diffstat (limited to 'package/dropbear/patches')
-rw-r--r-- | package/dropbear/patches/120-openwrt_options.patch | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/package/dropbear/patches/120-openwrt_options.patch b/package/dropbear/patches/120-openwrt_options.patch index bfae5b9..d1745e1 100644 --- a/package/dropbear/patches/120-openwrt_options.patch +++ b/package/dropbear/patches/120-openwrt_options.patch @@ -56,15 +56,6 @@ /* The MOTD file path */ #ifndef MOTD_FILENAME -@@ -177,7 +177,7 @@ much traffic. */ - - #define ENABLE_CLI_PASSWORD_AUTH - #define ENABLE_CLI_PUBKEY_AUTH --#define ENABLE_CLI_INTERACT_AUTH -+/*#define ENABLE_CLI_INTERACT_AUTH*/ - - /* This variable can be used to set a password for client - * authentication on the commandline. Beware of platforms @@ -185,7 +185,7 @@ much traffic. */ * note that it will be provided for all "hidden" client-interactive * style prompts - if you want something more sophisticated, use |