version 1.12, 2001/09/05 06:23:07 |
version 1.12.2.1, 2002/03/07 17:37:47 |
|
|
host key for machine |
host key for machine |
.Pa hostname : |
.Pa hostname : |
.Bd -literal |
.Bd -literal |
ssh-keyscan hostname |
$ ssh-keyscan hostname |
.Ed |
.Ed |
.Pp |
.Pp |
Find all hosts from the file |
Find all hosts from the file |
|
|
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 -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 FILES |
.Sh FILES |
|
|
or |
or |
.Dq ssh-dsa . |
.Dq ssh-dsa . |
.Pp |
.Pp |
.Pa /etc/ssh_known_hosts |
.Pa /etc/ssh/ssh_known_hosts |
.Sh BUGS |
.Sh BUGS |
It generates "Connection closed by remote host" messages on the consoles |
It generates "Connection closed by remote host" messages on the consoles |
of all the machines it scans if the server is older than version 2.9. |
of all the machines it scans if the server is older than version 2.9. |