summaryrefslogtreecommitdiffstats
path: root/usr.bin/key/key.1
blob: 1e4988663b44a0c84c2a293be490fd417e5b5fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.\"	from: @(#)key.1	1.0 (Bellcore) 12/2/91
.\" $FreeBSD$
.\"
.Dd December 2, 1991
.Dt KEY 1
.Os
.Sh NAME
.Nm key
.Nd stand-alone program for computing responses to S/Key challenges
.Sh SYNOPSIS
.Nm
.Op Fl n Ar count
.Ar sequence
.Ar key 
.Sh DESCRIPTION
.Nm Key
takes the optional count of the number of one time access 
passwords to print
along with a (maximum) sequence number and key as command line arguments, 
it prompts for the user's secret password, and produces both word 
and hex format responses.
.Pp
The following option is available:
.Bl -tag -width Fl
.It Fl n Ar count
The number of one time access passwords to print.
The default is 1.
.El
.Sh EXAMPLES
Usage example:
.Bd -literal -offset indent -compact
>key -n 5 99 th91334
Enter password: <your secret password is entered here>
OMEN US HORN OMIT BACK AHOY
\&.... 4 more passwords.
>
.Ed
.Sh SEE ALSO
.Xr keyinfo 1 ,
.Xr keyinit 1 ,
.Xr skey 1
.\" .BR keysu(1),
.Sh AUTHORS
.An -nosplit
Command by
.An Phil Karn ,
.An Neil M. Haller ,
.An John S. Walden
.Sh CONTACT
.Aq staff@thumper.bellcore.com
OpenPOWER on IntegriCloud