diff options
author | Damien Miller <djm@mindrot.org> | 2008-05-19 14:56:33 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-05-19 14:56:33 +1000 |
commit | bacb7fbd7e7716a4d3148769d43d8896cbfb2c54 (patch) | |
tree | 10680ec47f13fae0f369aa89bbb6c6afff652df8 | |
parent | 0b4c16589a29a3899500b553eb95461be3f604e6 (diff) |
- djm@cvs.openbsd.org 2008/04/30 10:14:03
[ssh-keyscan.1 ssh-keyscan.c]
default to rsa (protocol 2) keys, instead of rsa1 keys; spotted by
larsnooden AT openoffice.org
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ssh-keyscan.1 | 6 | ||||
-rw-r--r-- | ssh-keyscan.c | 4 |
3 files changed, 10 insertions, 6 deletions
@@ -39,6 +39,10 @@ | |||
39 | - otto@cvs.openbsd.org 2008/04/29 11:20:31 | 39 | - otto@cvs.openbsd.org 2008/04/29 11:20:31 |
40 | [monitor_mm.h] | 40 | [monitor_mm.h] |
41 | garbage collect two unused fields in struct mm_master; ok markus@ | 41 | garbage collect two unused fields in struct mm_master; ok markus@ |
42 | - djm@cvs.openbsd.org 2008/04/30 10:14:03 | ||
43 | [ssh-keyscan.1 ssh-keyscan.c] | ||
44 | default to rsa (protocol 2) keys, instead of rsa1 keys; spotted by | ||
45 | larsnooden AT openoffice.org | ||
42 | 46 | ||
43 | 20080403 | 47 | 20080403 |
44 | - (djm) [openbsd-compat/bsd-poll.c] Include stdlib.h to avoid compile- | 48 | - (djm) [openbsd-compat/bsd-poll.c] Include stdlib.h to avoid compile- |
@@ -3899,4 +3903,4 @@ | |||
3899 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3903 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3900 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3904 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3901 | 3905 | ||
3902 | $Id: ChangeLog,v 1.4914 2008/05/19 04:55:29 djm Exp $ | 3906 | $Id: ChangeLog,v 1.4915 2008/05/19 04:56:33 djm Exp $ |
diff --git a/ssh-keyscan.1 b/ssh-keyscan.1 index 7273df8c8..8a4f3bcba 100644 --- a/ssh-keyscan.1 +++ b/ssh-keyscan.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: ssh-keyscan.1,v 1.23 2007/05/31 19:20:16 jmc Exp $ | 1 | .\" $OpenBSD: ssh-keyscan.1,v 1.24 2008/04/30 10:14:03 djm Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. | 3 | .\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. |
4 | .\" | 4 | .\" |
@@ -6,7 +6,7 @@ | |||
6 | .\" permitted provided that due credit is given to the author and the | 6 | .\" permitted provided that due credit is given to the author and the |
7 | .\" OpenBSD project by leaving this copyright notice intact. | 7 | .\" OpenBSD project by leaving this copyright notice intact. |
8 | .\" | 8 | .\" |
9 | .Dd $Mdocdate: May 31 2007 $ | 9 | .Dd $Mdocdate: April 30 2008 $ |
10 | .Dt SSH-KEYSCAN 1 | 10 | .Dt SSH-KEYSCAN 1 |
11 | .Os | 11 | .Os |
12 | .Sh NAME | 12 | .Sh NAME |
@@ -94,7 +94,7 @@ or | |||
94 | for protocol version 2. | 94 | for protocol version 2. |
95 | Multiple values may be specified by separating them with commas. | 95 | Multiple values may be specified by separating them with commas. |
96 | The default is | 96 | The default is |
97 | .Dq rsa1 . | 97 | .Dq rsa . |
98 | .It Fl v | 98 | .It Fl v |
99 | Verbose mode. | 99 | Verbose mode. |
100 | Causes | 100 | Causes |
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 43ebfee55..304fcfde8 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keyscan.c,v 1.75 2007/12/27 14:22:08 dtucker Exp $ */ | 1 | /* $OpenBSD: ssh-keyscan.c,v 1.76 2008/04/30 10:14:03 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. | 3 | * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ int ssh_port = SSH_DEFAULT_PORT; | |||
56 | #define KT_DSA 2 | 56 | #define KT_DSA 2 |
57 | #define KT_RSA 4 | 57 | #define KT_RSA 4 |
58 | 58 | ||
59 | int get_keytypes = KT_RSA1; /* Get only RSA1 keys by default */ | 59 | int get_keytypes = KT_RSA; /* Get only RSA keys by default */ |
60 | 60 | ||
61 | int hash_hosts = 0; /* Hash hostname on output */ | 61 | int hash_hosts = 0; /* Hash hostname on output */ |
62 | 62 | ||