Tweak to man pages.
[monkeysphere.git] / man / man1 / monkeysphere.1
1 .TH MONKEYSPHERE "1" "June 2008" "monkeysphere 0.1" "User Commands"
2
3 .SH NAME
4
5 monkeysphere \- MonkeySphere client user interface
6
7 .SH SYNOPSIS
8
9 .B monkeysphere \fIcommand\fP [\fIargs\fP]
10
11 .SH DESCRIPTION
12
13 MonkeySphere is a system to leverage the OpenPGP Web of Trust for ssh
14 authentication and encryption.  OpenPGP keys are tracked via GnuPG,
15 and added to the ssh authorized_keys and known_hosts files to be used
16 for authentication of ssh connections.
17
18 \fBmonkeysphere\fP is the MonkeySphere client utility.
19
20 .SH SUBCOMMANDS
21
22 \fBmonkeysphere\fP takes various subcommands:
23 .TP
24 .B update-known_hosts [HOST]...
25 Update the known_hosts file.  For each specified host, gpg will be
26 queried for a key associated with the host URI (see HOST URIs),
27 querying a keyserver if specified.  If a key is found, it will be
28 converted to an ssh key, and any matching ssh keys will be removed
29 from the user's known_hosts file.  If the found key is acceptable (see
30 KEY ACCEPTABILITY), then the key will be updated and re-added to the
31 known_hosts file.  If no gpg key is found for the host, then nothing
32 is done.  If no hosts are specified, all hosts listed in the
33 known_hosts file will be processed.  `k' may be used in place of
34 `update-known_hosts'.
35 .TP
36 .B update-authorized_keys
37 Update the monkeysphere authorized_keys file.  For each user ID in the
38 user's authorized_user_ids file, gpg will be queried for keys
39 associated with that user ID, querying a keyserver if specified.  If a
40 key is found, it will be converted to an ssh key, and any matching ssh
41 keys will be removed from the user's authorized_keys file.  If the
42 found key is acceptable (see KEY ACCEPTABILITY), then the key will be
43 updated and re-added to the authorized_keys file.  If no gpg key is
44 found for the user ID, then nothing is done.  `a' may be used in place
45 of `update-authorized_keys'.
46 .TP
47 .B gen-subkey KEYID
48 Generate an `a` capable subkey.  For the primary key with the
49 specified key ID, generate a subkey with "authentication" capability
50 that can be used for MonkeySphere transactions.  `g' may be used in
51 place of `gen-subkey'.
52 .TP
53 .B help
54 Output a brief usage summary.  `h' or `?' may be used in place of
55 `help'.
56
57 .SH HOST URIs
58
59 Host OpenPGP keys have associated user IDs that use the ssh URI
60 specification for the host, ie. "ssh://host.full.domain[:port]".
61
62 .SH KEY ACCEPTABILITY
63
64 GPG keys are considered acceptable if the following criteria are met:
65 .TP
66 .B capability
67 The key must have the "authentication" ("a") usage flag set.
68 .TP
69 .B validity
70 The key must be "fully" valid (ie. signed by a trusted certifier), and
71 must not be expired or revoked.
72
73 .SH FILES
74
75 .TP
76 ~/.config/monkeysphere/monkeysphere.conf
77 User monkeysphere config file.
78 .TP
79 /etc/monkeysphere/monkeysphere.conf
80 System-wide monkeysphere config file.
81 .TP
82 ~/.config/monkeysphere/authorized_user_ids
83 OpenPGP user IDs associated with keys that will be checked for
84 addition to the authorized_keys file.
85
86 .SH AUTHOR
87
88 Written by Jameson Rollins <jrollins@fifthhorseman.net>
89
90 .SH SEE ALSO
91
92 .BR monkeysphere-ssh-proxycommand (1),
93 .BR monkeysphere-server (8),
94 .BR ssh (1),
95 .BR gpg (1)