diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ssh-keyscan.1 | 15 |
2 files changed, 11 insertions, 7 deletions
@@ -15,6 +15,9 @@ | |||
15 | - djm@cvs.openbsd.org 2014/03/12 04:51:12 | 15 | - djm@cvs.openbsd.org 2014/03/12 04:51:12 |
16 | [authfile.c] | 16 | [authfile.c] |
17 | correct test that kdf name is not "none" or "bcrypt" | 17 | correct test that kdf name is not "none" or "bcrypt" |
18 | - naddy@cvs.openbsd.org 2014/03/12 13:06:59 | ||
19 | [ssh-keyscan.1] | ||
20 | scan for Ed25519 keys by default too | ||
18 | 21 | ||
19 | 20140401 | 22 | 20140401 |
20 | - (djm) On platforms that support it, use prctl() to prevent sftp-server | 23 | - (djm) On platforms that support it, use prctl() to prevent sftp-server |
diff --git a/ssh-keyscan.1 b/ssh-keyscan.1 index dae4fd9fb..5c32ea9c7 100644 --- a/ssh-keyscan.1 +++ b/ssh-keyscan.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: ssh-keyscan.1,v 1.34 2014/01/28 14:13:39 jmc Exp $ | 1 | .\" $OpenBSD: ssh-keyscan.1,v 1.35 2014/03/12 13:06:59 naddy 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: January 28 2014 $ | 9 | .Dd $Mdocdate: March 12 2014 $ |
10 | .Dt SSH-KEYSCAN 1 | 10 | .Dt SSH-KEYSCAN 1 |
11 | .Os | 11 | .Os |
12 | .Sh NAME | 12 | .Sh NAME |
@@ -98,9 +98,10 @@ or | |||
98 | for protocol version 2. | 98 | for protocol version 2. |
99 | Multiple values may be specified by separating them with commas. | 99 | Multiple values may be specified by separating them with commas. |
100 | The default is to fetch | 100 | The default is to fetch |
101 | .Dq rsa | 101 | .Dq rsa , |
102 | .Dq ecdsa , | ||
102 | and | 103 | and |
103 | .Dq ecdsa | 104 | .Dq ed25519 |
104 | keys. | 105 | keys. |
105 | .It Fl v | 106 | .It Fl v |
106 | Verbose mode. | 107 | Verbose mode. |
@@ -124,12 +125,12 @@ Input format: | |||
124 | 1.2.3.4,1.2.4.4 name.my.domain,name,n.my.domain,n,1.2.3.4,1.2.4.4 | 125 | 1.2.3.4,1.2.4.4 name.my.domain,name,n.my.domain,n,1.2.3.4,1.2.4.4 |
125 | .Ed | 126 | .Ed |
126 | .Pp | 127 | .Pp |
127 | Output format for rsa1 keys: | 128 | Output format for RSA1 keys: |
128 | .Bd -literal | 129 | .Bd -literal |
129 | host-or-namelist bits exponent modulus | 130 | host-or-namelist bits exponent modulus |
130 | .Ed | 131 | .Ed |
131 | .Pp | 132 | .Pp |
132 | Output format for rsa, dsa and ecdsa keys: | 133 | Output format for RSA, DSA, ECDSA, and ED25519 keys: |
133 | .Bd -literal | 134 | .Bd -literal |
134 | host-or-namelist keytype base64-encoded-key | 135 | host-or-namelist keytype base64-encoded-key |
135 | .Ed | 136 | .Ed |
@@ -158,7 +159,7 @@ Find all hosts from the file | |||
158 | which have new or different keys from those in the sorted file | 159 | which have new or different keys from those in the sorted file |
159 | .Pa ssh_known_hosts : | 160 | .Pa ssh_known_hosts : |
160 | .Bd -literal | 161 | .Bd -literal |
161 | $ ssh-keyscan -t rsa,dsa,ecdsa -f ssh_hosts | \e | 162 | $ ssh-keyscan -t rsa,dsa,ecdsa,ed25519 -f ssh_hosts | \e |
162 | sort -u - ssh_known_hosts | diff ssh_known_hosts - | 163 | sort -u - ssh_known_hosts | diff ssh_known_hosts - |
163 | .Ed | 164 | .Ed |
164 | .Sh SEE ALSO | 165 | .Sh SEE ALSO |