summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-05 19:37:25 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-05 19:37:25 +0000
commit1bfe29151b064d3e1f56c4c45b7f5b74369fcc37 (patch)
tree47e96d7fb67dce7e4b9e517fb2b7d7529756cabd
parent608d1d1f9b4e1531cd1124dc0df4d38fa56a0712 (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--ChangeLog7
-rw-r--r--ssh.16
-rw-r--r--sshconnect2.c10
3 files changed, 14 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index ff61de7f8..8e975a0f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
2320010528 2820010528
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 $
diff --git a/ssh.1 b/ssh.1
index 433d41e78..da1a4c7bd 100644
--- a/ssh.1
+++ b/ssh.1
@@ -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
812or 812or
813.Dq no . 813.Dq no .
814The default is 814The default is
815.Dq yes . 815.Dq no .
816This option applies to protocol version 2 only and 816This option applies to protocol version 2 only and
817is similar to 817is similar to
818.Cm RhostsRSAAuthentication . 818.Cm RhostsRSAAuthentication .
@@ -925,7 +925,7 @@ authentication methods. This allows a client to prefer one method (e.g.
925over another method (e.g. 925over another method (e.g.
926.Cm password ) 926.Cm password )
927The default for this option is: 927The 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
930Specifies the protocol versions 930Specifies 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"
26RCSID("$OpenBSD: sshconnect2.c,v 1.73 2001/05/18 14:13:29 markus Exp $"); 26RCSID("$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,