summaryrefslogtreecommitdiff
path: root/ssh-keyscan.0
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keyscan.0')
-rw-r--r--ssh-keyscan.026
1 files changed, 12 insertions, 14 deletions
diff --git a/ssh-keyscan.0 b/ssh-keyscan.0
index 853bd5152..fe7aa8559 100644
--- a/ssh-keyscan.0
+++ b/ssh-keyscan.0
@@ -1,7 +1,7 @@
1SSH-KEYSCAN(1) General Commands Manual SSH-KEYSCAN(1) 1SSH-KEYSCAN(1) General Commands Manual SSH-KEYSCAN(1)
2 2
3NAME 3NAME
4 ssh-keyscan - gather ssh public keys 4 ssh-keyscan M-bM-^@M-^S gather ssh public keys
5 5
6SYNOPSIS 6SYNOPSIS
7 ssh-keyscan [-46Hv] [-f file] [-p port] [-T timeout] [-t type] 7 ssh-keyscan [-46Hv] [-f file] [-p port] [-T timeout] [-t type]
@@ -27,10 +27,9 @@ DESCRIPTION
27 -6 Forces ssh-keyscan to use IPv6 addresses only. 27 -6 Forces ssh-keyscan to use IPv6 addresses only.
28 28
29 -f file 29 -f file
30 Read hosts or ``addrlist namelist'' pairs from file, one per 30 Read hosts or M-bM-^@M-^\addrlist namelistM-bM-^@M-^] pairs from file, one per line.
31 line. If - is supplied instead of a filename, ssh-keyscan will 31 If - is supplied instead of a filename, ssh-keyscan will read
32 read hosts or ``addrlist namelist'' pairs from the standard 32 hosts or M-bM-^@M-^\addrlist namelistM-bM-^@M-^] pairs from the standard input.
33 input.
34 33
35 -H Hash all hostnames and addresses in the output. Hashed names may 34 -H Hash all hostnames and addresses in the output. Hashed names may
36 be used normally by ssh and sshd, but they do not reveal 35 be used normally by ssh and sshd, but they do not reveal
@@ -48,11 +47,10 @@ DESCRIPTION
48 47
49 -t type 48 -t type
50 Specifies the type of the key to fetch from the scanned hosts. 49 Specifies the type of the key to fetch from the scanned hosts.
51 The possible values are ``rsa1'' for protocol version 1 and 50 The possible values are M-bM-^@M-^\rsa1M-bM-^@M-^] for protocol version 1 and M-bM-^@M-^\dsaM-bM-^@M-^],
52 ``dsa'', ``ecdsa'', ``ed25519'', or ``rsa'' for protocol version 51 M-bM-^@M-^\ecdsaM-bM-^@M-^], M-bM-^@M-^\ed25519M-bM-^@M-^], or M-bM-^@M-^\rsaM-bM-^@M-^] for protocol version 2. Multiple
53 2. Multiple values may be specified by separating them with 52 values may be specified by separating them with commas. The
54 commas. The default is to fetch ``rsa'', ``ecdsa'', and 53 default is to fetch M-bM-^@M-^\rsaM-bM-^@M-^], M-bM-^@M-^\ecdsaM-bM-^@M-^], and M-bM-^@M-^\ed25519M-bM-^@M-^] keys.
55 ``ed25519'' keys.
56 54
57 -v Verbose mode. Causes ssh-keyscan to print debugging messages 55 -v Verbose mode. Causes ssh-keyscan to print debugging messages
58 about its progress. 56 about its progress.
@@ -74,12 +72,12 @@ FILES
74 72
75 host-or-namelist bits exponent modulus 73 host-or-namelist bits exponent modulus
76 74
77 Output format for RSA, DSA, ECDSA, and ED25519 keys: 75 Output format for RSA, DSA, ECDSA, and Ed25519 keys:
78 76
79 host-or-namelist keytype base64-encoded-key 77 host-or-namelist keytype base64-encoded-key
80 78
81 Where keytype is either ``ecdsa-sha2-nistp256'', ``ecdsa-sha2-nistp384'', 79 Where keytype is either M-bM-^@M-^\ecdsa-sha2-nistp256M-bM-^@M-^], M-bM-^@M-^\ecdsa-sha2-nistp384M-bM-^@M-^],
82 ``ecdsa-sha2-nistp521'', ``ssh-ed25519'', ``ssh-dss'' or ``ssh-rsa''. 80 M-bM-^@M-^\ecdsa-sha2-nistp521M-bM-^@M-^], M-bM-^@M-^\ssh-ed25519M-bM-^@M-^], M-bM-^@M-^\ssh-dssM-bM-^@M-^] or M-bM-^@M-^\ssh-rsaM-bM-^@M-^].
83 81
84 /etc/ssh/ssh_known_hosts 82 /etc/ssh/ssh_known_hosts
85 83
@@ -108,4 +106,4 @@ BUGS
108 This is because it opens a connection to the ssh port, reads the public 106 This is because it opens a connection to the ssh port, reads the public
109 key, and drops the connection as soon as it gets the key. 107 key, and drops the connection as soon as it gets the key.
110 108
111OpenBSD 5.6 March 12, 2014 OpenBSD 5.6 109OpenBSD 5.7 August 30, 2014 OpenBSD 5.7