version 1.28, 2010/01/09 23:04:13 |
version 1.29, 2010/08/31 11:54:45 |
|
|
The possible values are |
The possible values are |
.Dq rsa1 |
.Dq rsa1 |
for protocol version 1 and |
for protocol version 1 and |
.Dq rsa |
.Dq dsa , |
|
.Dq ecdsa |
or |
or |
.Dq dsa |
.Dq rsa |
for protocol version 2. |
for protocol version 2. |
Multiple values may be specified by separating them with commas. |
Multiple values may be specified by separating them with commas. |
The default is |
The default is |
|
|
host-or-namelist bits exponent modulus |
host-or-namelist bits exponent modulus |
.Ed |
.Ed |
.Pp |
.Pp |
.Pa Output format for rsa and dsa keys: |
.Pa Output format for rsa, dsa and ecdsa keys: |
.Bd -literal |
.Bd -literal |
host-or-namelist keytype base64-encoded-key |
host-or-namelist keytype base64-encoded-key |
.Ed |
.Ed |
|
|
Where |
Where |
.Pa keytype |
.Pa keytype |
is either |
is either |
.Dq ssh-rsa |
.Dq ecdsa-sha2-nistp256 , |
|
.Dq ecdsa-sha2-nistp384 , |
|
.Dq ecdsa-sha2-nistp521 , |
|
.Dq ssh-dss |
or |
or |
.Dq ssh-dss . |
.Dq ssh-rsa . |
.Pp |
.Pp |
.Pa /etc/ssh/ssh_known_hosts |
.Pa /etc/ssh/ssh_known_hosts |
.Sh EXAMPLES |
.Sh EXAMPLES |
|
|
which have new or different keys from those in the sorted file |
which have new or different keys from those in the sorted file |
.Pa ssh_known_hosts : |
.Pa ssh_known_hosts : |
.Bd -literal |
.Bd -literal |
$ ssh-keyscan -t rsa,dsa -f ssh_hosts | \e |
$ ssh-keyscan -t rsa,dsa,ecdsa -f ssh_hosts | \e |
sort -u - ssh_known_hosts | diff ssh_known_hosts - |
sort -u - ssh_known_hosts | diff ssh_known_hosts - |
.Ed |
.Ed |
.Sh SEE ALSO |
.Sh SEE ALSO |