diff options
Diffstat (limited to 'ssh-keyscan.0')
-rw-r--r-- | ssh-keyscan.0 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ssh-keyscan.0 b/ssh-keyscan.0 index 638c19b48..853bd5152 100644 --- a/ssh-keyscan.0 +++ b/ssh-keyscan.0 | |||
@@ -1,4 +1,4 @@ | |||
1 | SSH-KEYSCAN(1) OpenBSD Reference Manual SSH-KEYSCAN(1) | 1 | SSH-KEYSCAN(1) General Commands Manual SSH-KEYSCAN(1) |
2 | 2 | ||
3 | NAME | 3 | NAME |
4 | ssh-keyscan - gather ssh public keys | 4 | ssh-keyscan - gather ssh public keys |
@@ -51,7 +51,8 @@ DESCRIPTION | |||
51 | The possible values are ``rsa1'' for protocol version 1 and | 51 | The possible values are ``rsa1'' for protocol version 1 and |
52 | ``dsa'', ``ecdsa'', ``ed25519'', or ``rsa'' for protocol version | 52 | ``dsa'', ``ecdsa'', ``ed25519'', or ``rsa'' for protocol version |
53 | 2. Multiple values may be specified by separating them with | 53 | 2. Multiple values may be specified by separating them with |
54 | commas. The default is to fetch ``rsa'' and ``ecdsa'' keys. | 54 | commas. The default is to fetch ``rsa'', ``ecdsa'', and |
55 | ``ed25519'' keys. | ||
55 | 56 | ||
56 | -v Verbose mode. Causes ssh-keyscan to print debugging messages | 57 | -v Verbose mode. Causes ssh-keyscan to print debugging messages |
57 | about its progress. | 58 | about its progress. |
@@ -69,11 +70,11 @@ FILES | |||
69 | 70 | ||
70 | 1.2.3.4,1.2.4.4 name.my.domain,name,n.my.domain,n,1.2.3.4,1.2.4.4 | 71 | 1.2.3.4,1.2.4.4 name.my.domain,name,n.my.domain,n,1.2.3.4,1.2.4.4 |
71 | 72 | ||
72 | Output format for rsa1 keys: | 73 | Output format for RSA1 keys: |
73 | 74 | ||
74 | host-or-namelist bits exponent modulus | 75 | host-or-namelist bits exponent modulus |
75 | 76 | ||
76 | Output format for rsa, dsa and ecdsa keys: | 77 | Output format for RSA, DSA, ECDSA, and ED25519 keys: |
77 | 78 | ||
78 | host-or-namelist keytype base64-encoded-key | 79 | host-or-namelist keytype base64-encoded-key |
79 | 80 | ||
@@ -90,7 +91,7 @@ EXAMPLES | |||
90 | Find all hosts from the file ssh_hosts which have new or different keys | 91 | Find all hosts from the file ssh_hosts which have new or different keys |
91 | from those in the sorted file ssh_known_hosts: | 92 | from those in the sorted file ssh_known_hosts: |
92 | 93 | ||
93 | $ ssh-keyscan -t rsa,dsa,ecdsa -f ssh_hosts | \ | 94 | $ ssh-keyscan -t rsa,dsa,ecdsa,ed25519 -f ssh_hosts | \ |
94 | sort -u - ssh_known_hosts | diff ssh_known_hosts - | 95 | sort -u - ssh_known_hosts | diff ssh_known_hosts - |
95 | 96 | ||
96 | SEE ALSO | 97 | SEE ALSO |
@@ -107,4 +108,4 @@ BUGS | |||
107 | This is because it opens a connection to the ssh port, reads the public | 108 | This is because it opens a connection to the ssh port, reads the public |
108 | key, and drops the connection as soon as it gets the key. | 109 | key, and drops the connection as soon as it gets the key. |
109 | 110 | ||
110 | OpenBSD 5.5 January 28, 2014 OpenBSD 5.5 | 111 | OpenBSD 5.6 March 12, 2014 OpenBSD 5.6 |