=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-keyscan.1,v retrieving revision 1.3.2.2 retrieving revision 1.3.2.3 diff -u -r1.3.2.2 -r1.3.2.3 --- src/usr.bin/ssh/ssh-keyscan.1 2001/02/19 17:19:30 1.3.2.2 +++ src/usr.bin/ssh/ssh-keyscan.1 2001/03/21 19:46:30 1.3.2.3 @@ -1,7 +1,14 @@ -.\" $OpenBSD: ssh-keyscan.1,v 1.3.2.2 2001/02/19 17:19:30 jason Exp $ +.\" $OpenBSD: ssh-keyscan.1,v 1.3.2.3 2001/03/21 19:46:30 jason Exp $ .\" +.\" Copyright 1995, 1996 by David Mazieres . +.\" +.\" Modification and redistribution in source and binary forms is +.\" permitted provided that due credit is given to the author and the +.\" OpenBSD project (for instance by leaving this copyright notice +.\" intact). +.\" .Dd January 1, 1996 -.Dt ssh-keyscan 1 +.Dt SSH-KEYSCAN 1 .Os .Sh NAME .Nm ssh-keyscan @@ -72,7 +79,7 @@ which have new or different keys from those in the sorted file .Pa ssh_known_hosts : .Bd -literal -ssh-keyscan -f ssh_hosts | sort -u - ssh_known_hosts | \e\ +$ ssh-keyscan -f ssh_hosts | sort -u - ssh_known_hosts | \e\ diff ssh_known_hosts - .Ed .Pp @@ -91,7 +98,7 @@ This is because it opens a connection to the ssh port, reads the public key, and drops the connection as soon as it gets the key. .Sh SEE ALSO -.Xr ssh 1 +.Xr ssh 1 , .Xr sshd 8 .Sh AUTHOR David Mazieres