]> andersk Git - openssh.git/blobdiff - ssh-keyscan.1
- jakob@cvs.openbsd.org 2001/07/31 09:28:44
[openssh.git] / ssh-keyscan.1
index 9f71705d99e43aed29a3484a4615b474a0f84441..328d95ab1eb780c3da2065d1ac99b1cbe471ccbd 100644 (file)
@@ -1,7 +1,13 @@
-.\"    $OpenBSD: ssh-keyscan.1,v 1.3 2001/01/29 01:58:18 niklas Exp $
+.\"    $OpenBSD: ssh-keyscan.1,v 1.8 2001/06/23 17:48:18 itojun Exp $
+.\"
+.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
+.\"
+.\" Modification and redistribution in source and binary forms is
+.\" permitted provided that due credit is given to the author and the
+.\" OpenBSD project by leaving this copyright notice intact.
 .\"
 .Dd January 1, 1996
-.Dt ssh-keyscan 1
+.Dt SSH-KEYSCAN 1
 .Os
 .Sh NAME
 .Nm ssh-keyscan
@@ -26,7 +32,7 @@ uses non-blocking socket I/O to contact as many hosts as possible in
 parallel, so it is very efficient.  The keys from a domain of 1,000
 hosts can be collected in tens of seconds, even when some of those
 hosts are down or do not run ssh.  You do not need login access to the
-machines you are scanning, nor does does the scanning process involve
+machines you are scanning, nor does the scanning process involve
 any encryption.
 .Sh SECURITY
 If you make an ssh_known_hosts file using
@@ -41,26 +47,25 @@ have begun after you created your ssh_known_hosts file.
 .Sh OPTIONS
 .Bl -tag -width Ds
 .It Fl t
-Set the timeout for connection attempts.  If 
+Set the timeout for connection attempts.  If
 .Pa timeout
 seconds have elapsed since a connection was initiated to a host or since the
 last time anything was read from that host, then the connection is
 closed and the host in question considered unavailable.  Default is 5
 seconds.
 .It Fl f
-Read hosts or 
+Read hosts or
 .Pa addrlist namelist
 pairs from this file, one per line.
 If
 .Pa -
 is supplied instead of a filename,
 .Nm
-will read hosts or 
+will read hosts or
 .Pa addrlist namelist
 pairs from the standard input.
 .El
 .Sh EXAMPLES
-.Pp
 Print the host key for machine
 .Pa hostname :
 .Bd -literal
@@ -72,12 +77,10 @@ Find all hosts from the file
 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
 .Sh FILES
-.Pp
 .Pa Input format:
 1.2.3.4,1.2.4.4 name.my.domain,name,n.my.domain,n,1.2.3.4,1.2.4.4
 .Pp
@@ -91,7 +94,7 @@ of all the machines it scans.
 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
+.Sh AUTHORS
 David Mazieres <dm@lcs.mit.edu>
This page took 0.039484 seconds and 4 git commands to generate.