diff options
Diffstat (limited to 'ssh-keyscan.0')
-rw-r--r-- | ssh-keyscan.0 | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ssh-keyscan.0 b/ssh-keyscan.0 index 9bf4cc252..ba53bce81 100644 --- a/ssh-keyscan.0 +++ b/ssh-keyscan.0 | |||
@@ -48,9 +48,9 @@ DESCRIPTION | |||
48 | -t type | 48 | -t type |
49 | 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. |
50 | The possible values are ``rsa1'' for protocol version 1 and | 50 | The possible values are ``rsa1'' for protocol version 1 and |
51 | ``rsa'' or ``dsa'' for protocol version 2. Multiple values may | 51 | ``dsa'', ``ecdsa'' or ``rsa'' for protocol version 2. Multiple |
52 | be specified by separating them with commas. The default is | 52 | values may be specified by separating them with commas. The |
53 | ``rsa''. | 53 | default is ``rsa''. |
54 | 54 | ||
55 | -v Verbose mode. Causes ssh-keyscan to print debugging messages | 55 | -v Verbose mode. Causes ssh-keyscan to print debugging messages |
56 | about its progress. | 56 | about its progress. |
@@ -72,11 +72,12 @@ FILES | |||
72 | 72 | ||
73 | host-or-namelist bits exponent modulus | 73 | host-or-namelist bits exponent modulus |
74 | 74 | ||
75 | Output format for rsa and dsa keys: | 75 | Output format for rsa, dsa and ecdsa keys: |
76 | 76 | ||
77 | host-or-namelist keytype base64-encoded-key | 77 | host-or-namelist keytype base64-encoded-key |
78 | 78 | ||
79 | Where keytype is either ``ssh-rsa'' or ``ssh-dss''. | 79 | Where keytype is either ``ecdsa-sha2-nistp256'', ``ecdsa-sha2-nistp384'', |
80 | ``ecdsa-sha2-nistp521'', ``ssh-dss'' or ``ssh-rsa''. | ||
80 | 81 | ||
81 | /etc/ssh/ssh_known_hosts | 82 | /etc/ssh/ssh_known_hosts |
82 | 83 | ||
@@ -88,7 +89,7 @@ EXAMPLES | |||
88 | Find all hosts from the file ssh_hosts which have new or different keys | 89 | Find all hosts from the file ssh_hosts which have new or different keys |
89 | from those in the sorted file ssh_known_hosts: | 90 | from those in the sorted file ssh_known_hosts: |
90 | 91 | ||
91 | $ ssh-keyscan -t rsa,dsa -f ssh_hosts | \ | 92 | $ ssh-keyscan -t rsa,dsa,ecdsa -f ssh_hosts | \ |
92 | sort -u - ssh_known_hosts | diff ssh_known_hosts - | 93 | sort -u - ssh_known_hosts | diff ssh_known_hosts - |
93 | 94 | ||
94 | SEE ALSO | 95 | SEE ALSO |
@@ -105,4 +106,4 @@ BUGS | |||
105 | 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 |
106 | 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. |
107 | 108 | ||
108 | OpenBSD 4.8 January 9, 2010 OpenBSD 4.8 | 109 | OpenBSD 4.8 August 31, 2010 OpenBSD 4.8 |