version 1.43, 2018/03/02 21:40:15 |
version 1.44, 2018/03/05 07:03:18 |
|
|
hosts. |
hosts. |
It was designed to aid in building and verifying |
It was designed to aid in building and verifying |
.Pa ssh_known_hosts |
.Pa ssh_known_hosts |
files. |
files, |
|
the format of which is documented in |
|
.Xr sshd 8 . |
.Nm |
.Nm |
provides a minimal interface suitable for use by shell and perl |
provides a minimal interface suitable for use by shell and perl |
scripts. |
scripts. |
|
|
login access to the machines that are being scanned, nor does the |
login access to the machines that are being scanned, nor does the |
scanning process involve any encryption. |
scanning process involve any encryption. |
.Pp |
.Pp |
Input is expected in the format: |
|
.Bd -literal -offset 3n |
|
1.2.3.4,1.2.4.4 name.my.domain,name,n.my.domain,n,1.2.3.4,1.2.4.4 |
|
.Ed |
|
.Pp |
|
The output format is: |
|
.Bd -literal -offset 3n |
|
host-or-namelist keytype base64-encoded-key |
|
.Ed |
|
.Pp |
|
Where |
|
.Ar keytype |
|
is either |
|
.Dq ecdsa-sha2-nistp256 , |
|
.Dq ecdsa-sha2-nistp384 , |
|
.Dq ecdsa-sha2-nistp521 , |
|
.Dq ssh-ed25519 , |
|
.Dq ssh-dss |
|
or |
|
.Dq ssh-rsa . |
|
.Pp |
|
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl 4 |
.It Fl 4 |
|
|
is supplied instead of a filename, |
is supplied instead of a filename, |
.Nm |
.Nm |
will read from the standard input. |
will read from the standard input. |
|
Input is expected in the format: |
|
.Bd -literal |
|
1.2.3.4,1.2.4.4 name.my.domain,name,n.my.domain,n,1.2.3.4,1.2.4.4 |
|
.Ed |
.It Fl H |
.It Fl H |
Hash all hostnames and addresses in the output. |
Hash all hostnames and addresses in the output. |
Hashed names may be used normally by |
Hashed names may be used normally by |