diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-05 19:37:25 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-05 19:37:25 +0000 |
commit | 1bfe29151b064d3e1f56c4c45b7f5b74369fcc37 (patch) | |
tree | 47e96d7fb67dce7e4b9e517fb2b7d7529756cabd | |
parent | 608d1d1f9b4e1531cd1124dc0df4d38fa56a0712 (diff) |
- markus@cvs.openbsd.org 2001/05/19 16:32:16
[ssh.1 sshconnect2.c]
change preferredauthentication order to
publickey,hostbased,password,keyboard-interactive
document that hostbased defaults to no, document order
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ssh.1 | 6 | ||||
-rw-r--r-- | sshconnect2.c | 10 |
3 files changed, 14 insertions, 9 deletions
@@ -19,6 +19,11 @@ | |||
19 | - markus@cvs.openbsd.org 2001/05/19 16:08:43 | 19 | - markus@cvs.openbsd.org 2001/05/19 16:08:43 |
20 | [sshd.8] | 20 | [sshd.8] |
21 | sort options; Matthew.Stier@fnc.fujitsu.com | 21 | sort options; Matthew.Stier@fnc.fujitsu.com |
22 | - markus@cvs.openbsd.org 2001/05/19 16:32:16 | ||
23 | [ssh.1 sshconnect2.c] | ||
24 | change preferredauthentication order to | ||
25 | publickey,hostbased,password,keyboard-interactive | ||
26 | document that hostbased defaults to no, document order | ||
22 | 27 | ||
23 | 20010528 | 28 | 20010528 |
24 | - (tim) [conifgure.in] add setvbuf test needed for sftp-int.c | 29 | - (tim) [conifgure.in] add setvbuf test needed for sftp-int.c |
@@ -5449,4 +5454,4 @@ | |||
5449 | - Wrote replacements for strlcpy and mkdtemp | 5454 | - Wrote replacements for strlcpy and mkdtemp |
5450 | - Released 1.0pre1 | 5455 | - Released 1.0pre1 |
5451 | 5456 | ||
5452 | $Id: ChangeLog,v 1.1231 2001/06/05 19:33:22 mouring Exp $ | 5457 | $Id: ChangeLog,v 1.1232 2001/06/05 19:37:25 mouring Exp $ |
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh.1,v 1.111 2001/05/17 21:34:15 markus Exp $ | 37 | .\" $OpenBSD: ssh.1,v 1.112 2001/05/19 16:32:16 markus Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH 1 | 39 | .Dt SSH 1 |
40 | .Os | 40 | .Os |
@@ -812,7 +812,7 @@ The argument must be | |||
812 | or | 812 | or |
813 | .Dq no . | 813 | .Dq no . |
814 | The default is | 814 | The default is |
815 | .Dq yes . | 815 | .Dq no . |
816 | This option applies to protocol version 2 only and | 816 | This option applies to protocol version 2 only and |
817 | is similar to | 817 | is similar to |
818 | .Cm RhostsRSAAuthentication . | 818 | .Cm RhostsRSAAuthentication . |
@@ -925,7 +925,7 @@ authentication methods. This allows a client to prefer one method (e.g. | |||
925 | over another method (e.g. | 925 | over another method (e.g. |
926 | .Cm password ) | 926 | .Cm password ) |
927 | The default for this option is: | 927 | The default for this option is: |
928 | .Dq publickey,password,keyboard-interactive | 928 | .Dq publickey,hostbased,password,keyboard-interactive |
929 | .It Cm Protocol | 929 | .It Cm Protocol |
930 | Specifies the protocol versions | 930 | Specifies the protocol versions |
931 | .Nm | 931 | .Nm |
diff --git a/sshconnect2.c b/sshconnect2.c index 75bd53d08..5b354010d 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.73 2001/05/18 14:13:29 markus Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.74 2001/05/19 16:32:16 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/md5.h> | 29 | #include <openssl/md5.h> |
@@ -202,6 +202,10 @@ Authmethod authmethods[] = { | |||
202 | userauth_pubkey, | 202 | userauth_pubkey, |
203 | &options.pubkey_authentication, | 203 | &options.pubkey_authentication, |
204 | NULL}, | 204 | NULL}, |
205 | {"hostbased", | ||
206 | userauth_hostbased, | ||
207 | &options.hostbased_authentication, | ||
208 | NULL}, | ||
205 | {"password", | 209 | {"password", |
206 | userauth_passwd, | 210 | userauth_passwd, |
207 | &options.password_authentication, | 211 | &options.password_authentication, |
@@ -210,10 +214,6 @@ Authmethod authmethods[] = { | |||
210 | userauth_kbdint, | 214 | userauth_kbdint, |
211 | &options.kbd_interactive_authentication, | 215 | &options.kbd_interactive_authentication, |
212 | &options.batch_mode}, | 216 | &options.batch_mode}, |
213 | {"hostbased", | ||
214 | userauth_hostbased, | ||
215 | &options.hostbased_authentication, | ||
216 | NULL}, | ||
217 | {"none", | 217 | {"none", |
218 | userauth_none, | 218 | userauth_none, |
219 | NULL, | 219 | NULL, |