summaryrefslogtreecommitdiff
path: root/ssh-keyscan.1
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keyscan.1')
-rw-r--r--ssh-keyscan.115
1 files changed, 11 insertions, 4 deletions
diff --git a/ssh-keyscan.1 b/ssh-keyscan.1
index 9f71705d9..eace55dd6 100644
--- a/ssh-keyscan.1
+++ b/ssh-keyscan.1
@@ -1,7 +1,14 @@
1.\" $OpenBSD: ssh-keyscan.1,v 1.3 2001/01/29 01:58:18 niklas Exp $ 1.\" $OpenBSD: ssh-keyscan.1,v 1.4 2001/03/01 03:38:33 deraadt Exp $
2.\"
3.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
4.\"
5.\" Modification and redistribution in source and binary forms is
6.\" permitted provided that due credit is given to the author and the
7.\" OpenBSD project (for instance by leaving this copyright notice
8.\" intact).
2.\" 9.\"
3.Dd January 1, 1996 10.Dd January 1, 1996
4.Dt ssh-keyscan 1 11.Dt SSH-KEYSCAN 1
5.Os 12.Os
6.Sh NAME 13.Sh NAME
7.Nm ssh-keyscan 14.Nm ssh-keyscan
@@ -72,7 +79,7 @@ Find all hosts from the file
72which have new or different keys from those in the sorted file 79which have new or different keys from those in the sorted file
73.Pa ssh_known_hosts : 80.Pa ssh_known_hosts :
74.Bd -literal 81.Bd -literal
75ssh-keyscan -f ssh_hosts | sort -u - ssh_known_hosts | \e\ 82$ ssh-keyscan -f ssh_hosts | sort -u - ssh_known_hosts | \e\
76 diff ssh_known_hosts - 83 diff ssh_known_hosts -
77.Ed 84.Ed
78.Pp 85.Pp
@@ -91,7 +98,7 @@ of all the machines it scans.
91This is because it opens a connection to the ssh port, reads the public 98This is because it opens a connection to the ssh port, reads the public
92key, and drops the connection as soon as it gets the key. 99key, and drops the connection as soon as it gets the key.
93.Sh SEE ALSO 100.Sh SEE ALSO
94.Xr ssh 1 101.Xr ssh 1 ,
95.Xr sshd 8 102.Xr sshd 8
96.Sh AUTHOR 103.Sh AUTHOR
97David Mazieres <dm@lcs.mit.edu> 104David Mazieres <dm@lcs.mit.edu>