summaryrefslogtreecommitdiff
path: root/ssh-keyscan.1
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keyscan.1')
-rw-r--r--ssh-keyscan.152
1 files changed, 30 insertions, 22 deletions
diff --git a/ssh-keyscan.1 b/ssh-keyscan.1
index 9efcf5213..7e846f77c 100644
--- a/ssh-keyscan.1
+++ b/ssh-keyscan.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keyscan.1,v 1.18 2004/07/12 23:34:25 brad Exp $ 1.\" $OpenBSD: ssh-keyscan.1,v 1.20 2005/03/01 15:47:14 jmc Exp $
2.\" 2.\"
3.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. 3.\" Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
4.\" 4.\"
@@ -15,11 +15,11 @@
15.Sh SYNOPSIS 15.Sh SYNOPSIS
16.Nm ssh-keyscan 16.Nm ssh-keyscan
17.Bk -words 17.Bk -words
18.Op Fl v46 18.Op Fl 46Hv
19.Op Fl f Ar file
19.Op Fl p Ar port 20.Op Fl p Ar port
20.Op Fl T Ar timeout 21.Op Fl T Ar timeout
21.Op Fl t Ar type 22.Op Fl t Ar type
22.Op Fl f Ar file
23.Op Ar host | addrlist namelist 23.Op Ar host | addrlist namelist
24.Op Ar ... 24.Op Ar ...
25.Ek 25.Ek
@@ -46,6 +46,33 @@ scanning process involve any encryption.
46.Pp 46.Pp
47The options are as follows: 47The options are as follows:
48.Bl -tag -width Ds 48.Bl -tag -width Ds
49.It Fl 4
50Forces
51.Nm
52to use IPv4 addresses only.
53.It Fl 6
54Forces
55.Nm
56to use IPv6 addresses only.
57.It Fl f Ar file
58Read hosts or
59.Pa addrlist namelist
60pairs from this file, one per line.
61If
62.Pa -
63is supplied instead of a filename,
64.Nm
65will read hosts or
66.Pa addrlist namelist
67pairs from the standard input.
68.It Fl H
69Hash all hostnames and addresses in the output.
70Hashed names may be used normally by
71.Nm ssh
72and
73.Nm sshd ,
74but they do not reveal identifying information should the file's contents
75be disclosed.
49.It Fl p Ar port 76.It Fl p Ar port
50Port to connect to on the remote host. 77Port to connect to on the remote host.
51.It Fl T Ar timeout 78.It Fl T Ar timeout
@@ -68,30 +95,11 @@ for protocol version 2.
68Multiple values may be specified by separating them with commas. 95Multiple values may be specified by separating them with commas.
69The default is 96The default is
70.Dq rsa1 . 97.Dq rsa1 .
71.It Fl f Ar filename
72Read hosts or
73.Pa addrlist namelist
74pairs from this file, one per line.
75If
76.Pa -
77is supplied instead of a filename,
78.Nm
79will read hosts or
80.Pa addrlist namelist
81pairs from the standard input.
82.It Fl v 98.It Fl v
83Verbose mode. 99Verbose mode.
84Causes 100Causes
85.Nm 101.Nm
86to print debugging messages about its progress. 102to print debugging messages about its progress.
87.It Fl 4
88Forces
89.Nm
90to use IPv4 addresses only.
91.It Fl 6
92Forces
93.Nm
94to use IPv6 addresses only.
95.El 103.El
96.Sh SECURITY 104.Sh SECURITY
97If a ssh_known_hosts file is constructed using 105If a ssh_known_hosts file is constructed using