summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keyscan.1
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2014-03-12 13:06:59 +0000
committernaddy <naddy@openbsd.org>2014-03-12 13:06:59 +0000
commitd87e7f185a69fa6d036ee2ddc55610085c83f158 (patch)
tree632493d99a8f9aa3219e7c53fcbb5d1f1e1cce1f /usr.bin/ssh/ssh-keyscan.1
parentIf a device is babbling do a full reset of the associated endpoint (diff)
downloadwireguard-openbsd-d87e7f185a69fa6d036ee2ddc55610085c83f158.tar.xz
wireguard-openbsd-d87e7f185a69fa6d036ee2ddc55610085c83f158.zip
scan for Ed25519 keys by default too
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.1')
-rw-r--r--usr.bin/ssh/ssh-keyscan.115
1 files changed, 8 insertions, 7 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.1 b/usr.bin/ssh/ssh-keyscan.1
index dae4fd9fb3e..5c32ea9c704 100644
--- a/usr.bin/ssh/ssh-keyscan.1
+++ b/usr.bin/ssh/ssh-keyscan.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ssh-keyscan.1,v 1.34 2014/01/28 14:13:39 jmc Exp $
+.\" $OpenBSD: ssh-keyscan.1,v 1.35 2014/03/12 13:06:59 naddy Exp $
.\"
.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
.\"
@@ -6,7 +6,7 @@
.\" permitted provided that due credit is given to the author and the
.\" OpenBSD project by leaving this copyright notice intact.
.\"
-.Dd $Mdocdate: January 28 2014 $
+.Dd $Mdocdate: March 12 2014 $
.Dt SSH-KEYSCAN 1
.Os
.Sh NAME
@@ -98,9 +98,10 @@ or
for protocol version 2.
Multiple values may be specified by separating them with commas.
The default is to fetch
-.Dq rsa
+.Dq rsa ,
+.Dq ecdsa ,
and
-.Dq ecdsa
+.Dq ed25519
keys.
.It Fl v
Verbose mode.
@@ -124,12 +125,12 @@ Input format:
1.2.3.4,1.2.4.4 name.my.domain,name,n.my.domain,n,1.2.3.4,1.2.4.4
.Ed
.Pp
-Output format for rsa1 keys:
+Output format for RSA1 keys:
.Bd -literal
host-or-namelist bits exponent modulus
.Ed
.Pp
-Output format for rsa, dsa and ecdsa keys:
+Output format for RSA, DSA, ECDSA, and ED25519 keys:
.Bd -literal
host-or-namelist keytype base64-encoded-key
.Ed
@@ -158,7 +159,7 @@ Find all hosts from the file
which have new or different keys from those in the sorted file
.Pa ssh_known_hosts :
.Bd -literal
-$ ssh-keyscan -t rsa,dsa,ecdsa -f ssh_hosts | \e
+$ ssh-keyscan -t rsa,dsa,ecdsa,ed25519 -f ssh_hosts | \e
sort -u - ssh_known_hosts | diff ssh_known_hosts -
.Ed
.Sh SEE ALSO