diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 2002-04-25 05:59:53 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 2002-04-25 05:59:53 +0000 |
commit | 44493e088a3a01cd2e8633c8435f505ba3c61d49 (patch) | |
tree | 516c89e36da38daa7c59bd6f847b0dac112792fd /crypto/openssh | |
parent | 32e56cd19de7cb4c7b979161cacc7d4811d7ed50 (diff) | |
download | src-44493e088a3a01cd2e8633c8435f505ba3c61d49.tar.gz src-44493e088a3a01cd2e8633c8435f505ba3c61d49.zip |
Change default challenge/response behavior of sshd by popular demand.
This brings us into sync with the behavior of sshd on other Unix platforms.
Submitted by: Joshua Goodall <joshua@roughtrade.net>
Notes
Notes:
svn path=/head/; revision=95431
Diffstat (limited to 'crypto/openssh')
-rw-r--r-- | crypto/openssh/servconf.c | 2 | ||||
-rw-r--r-- | crypto/openssh/sshd_config | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c index 1cf7f9d90e6d..add504b94326 100644 --- a/crypto/openssh/servconf.c +++ b/crypto/openssh/servconf.c @@ -212,7 +212,7 @@ fill_default_server_options(ServerOptions *options) if (options->kbd_interactive_authentication == -1) options->kbd_interactive_authentication = 0; if (options->challenge_response_authentication == -1) - options->challenge_response_authentication = 1; + options->challenge_response_authentication = 0; if (options->permit_empty_passwd == -1) options->permit_empty_passwd = 0; if (options->use_login == -1) diff --git a/crypto/openssh/sshd_config b/crypto/openssh/sshd_config index e34c96424e1d..156b5f0c574d 100644 --- a/crypto/openssh/sshd_config +++ b/crypto/openssh/sshd_config @@ -60,8 +60,8 @@ #PasswordAuthentication yes #PermitEmptyPasswords no -# Change to no to disable s/key passwords -#ChallengeResponseAuthentication yes +# Change to yes to enable s/key passwords +#ChallengeResponseAuthentication no # Kerberos options # KerberosAuthentication automatically enabled if keyfile exists |