summaryrefslogtreecommitdiff
path: root/ssh-keyscan.0
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2011-02-17 11:47:40 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2011-02-17 11:47:40 +0000
commit9f6de2d748109e4e479c9259468a79973631e7fc (patch)
tree1d333e32031110bf9bfd5e15980adf8221240df8 /ssh-keyscan.0
parent3a927e69c380468bb32766c99aa7caf86de401a4 (diff)
Notes
Diffstat (limited to 'ssh-keyscan.0')
-rw-r--r--ssh-keyscan.015
1 files changed, 8 insertions, 7 deletions
diff --git a/ssh-keyscan.0 b/ssh-keyscan.0
index 9bf4cc25279bf..ba53bce8164a2 100644
--- a/ssh-keyscan.0
+++ b/ssh-keyscan.0
@@ -48,9 +48,9 @@ DESCRIPTION
-t type
Specifies the type of the key to fetch from the scanned hosts.
The possible values are ``rsa1'' for protocol version 1 and
- ``rsa'' or ``dsa'' for protocol version 2. Multiple values may
- be specified by separating them with commas. The default is
- ``rsa''.
+ ``dsa'', ``ecdsa'' or ``rsa'' for protocol version 2. Multiple
+ values may be specified by separating them with commas. The
+ default is ``rsa''.
-v Verbose mode. Causes ssh-keyscan to print debugging messages
about its progress.
@@ -72,11 +72,12 @@ FILES
host-or-namelist bits exponent modulus
- Output format for rsa and dsa keys:
+ Output format for rsa, dsa and ecdsa keys:
host-or-namelist keytype base64-encoded-key
- Where keytype is either ``ssh-rsa'' or ``ssh-dss''.
+ Where keytype is either ``ecdsa-sha2-nistp256'', ``ecdsa-sha2-nistp384'',
+ ``ecdsa-sha2-nistp521'', ``ssh-dss'' or ``ssh-rsa''.
/etc/ssh/ssh_known_hosts
@@ -88,7 +89,7 @@ EXAMPLES
Find all hosts from the file ssh_hosts which have new or different keys
from those in the sorted file ssh_known_hosts:
- $ ssh-keyscan -t rsa,dsa -f ssh_hosts | \
+ $ ssh-keyscan -t rsa,dsa,ecdsa -f ssh_hosts | \
sort -u - ssh_known_hosts | diff ssh_known_hosts -
SEE ALSO
@@ -105,4 +106,4 @@ BUGS
This is because it opens a connection to the ssh port, reads the public
key, and drops the connection as soon as it gets the key.
-OpenBSD 4.8 January 9, 2010 OpenBSD 4.8
+OpenBSD 4.8 August 31, 2010 OpenBSD 4.8