.TH MONKEYSPHERE-SSH-PROXYCOMMAND "1" "June 2008" "monkeysphere 0.1" "User Commands"
+
.SH NAME
+
monkeysphere-ssh-proxycommand \- MonkeySphere ssh ProxyCommand script
-.PD
+
.SH DESCRIPTION
-.PP
+
\fBmonkeysphere-ssh-proxy\fP is an ssh proxy command that can be used
to trigger a monkeysphere update of the known_hosts file for the hosts
that are being connected to. It is meant to be run as an ssh
Run the following command for more info:
.B less $(which monkeysphere-ssh-proxycommand)
-.PD
+
.SH AUTHOR
+
Written by Jameson Rollins <jrollins@fifthhorseman.net>
-.PD
+
.SH SEE ALSO
+
.BR monkeypshere (1),
.BR ssh (1),
.BR gpg (1)
.TH MONKEYSPHERE "1" "June 2008" "monkeysphere 0.1" "User Commands"
+
.SH NAME
+
monkeysphere \- MonkeySphere client user interface
-.PD
+
.SH SYNOPSIS
+
.B monkeysphere \fIcommand\fP [\fIargs\fP]
-.PD
+
.SH DESCRIPTION
-.PP
+
MonkeySphere is a system to leverage the OpenPGP Web of Trust for ssh
authentication and encryption. OpenPGP keys are tracked via GnuPG,
and added to the ssh authorized_keys and known_hosts files to be used
for authentication and encryption of ssh connection.
\fBmonkeysphere\fP is the MonkeySphere client utility.
-.PD
+
.SH SUBCOMMANDS
+
\fBmonkeysphere\fP takes various subcommands:
.TP
.B update-known_hosts [HOST]...
.B help
Output a brief usage summary. `h' or `?' may be used in place of
`help'.
-.PD
+
+.SH HOST URIs
+
+Host OpenPGP keys have associated user IDs that use the ssh URI
+specification for the host, ie. "ssh://host.full.domain".
+
.SH KEY ACCEPTABILITY
+
GPG keys are considered acceptable if the following criteria are met:
-.PD
.TP
.B capability
The key must have both the "authentication" and "encrypt" capability
.TP
.B validity
The key must be "fully" valid, and must not be expired or revoked.
-.PD
+
.SH KEY CACHES
+
Monkeysphere keeps track of keys in key cache directories. The files
in the cache are named with the format "USERID_HASH.PUB_KEY_ID", where
USERID_HASH is a hash of the exact OpenPGP user ID, and PUB_KEY_ID is
key lines will be stored in the user_keys cache files. OpenPGP keys
are converted to ssh-style keys with the openpgp2ssh utility (see `man
openpgp2ssh').
-.PD
+
.SH FILES
-.PD 1
+
.TP
~/.config/monkeysphere/monkeysphere.conf
User monkeysphere config file.
System-wide monkeysphere config file.
.TP
~/.config/monkeysphere/authorized_user_ids
-GPG user IDs associated with keys that will be checked for addition to
-the authorized_keys file.
+OpenPGP user IDs associated with keys that will be checked for
+addition to the authorized_keys file.
.TP
~/.config/monkeysphere/authorized_keys
Monkeysphere generated authorized_keys file.
.TP
~/.config/monkeysphere/host_keys
Host keys cache directory.
-.PD
+
.SH AUTHOR
+
Written by Jameson Rollins <jrollins@fifthhorseman.net>
-.PD
+
.SH SEE ALSO
-.BR ssh (1),
+
.BR monkeysphere-ssh-proxycommand (1),
-.BR gpg (1),
-.BR monkeysphere-server (8)
+.BR monkeysphere-server (8),
+.BR ssh (1),
+.BR gpg (1)
<dkg@fifthhorseman.net>.
.Sh BUGS
.Nm
-currently only exports into formats used by the OpenSSH.
+Currently only exports into formats used by the OpenSSH.
It should support other key output formats, such as those used by
lsh(1) and putty(1).
.Pp
.TH MONKEYSPHERE-SERVER "1" "June 2008" "monkeysphere 0.1" "User Commands"
+
.SH NAME
+
monkeysphere-server \- monkeysphere server admin user interface
+
.SH SYNOPSIS
+
.B monkeysphere-server \fIcommand\fP [\fIargs\fP]
+
.SH DESCRIPTION
-.PP
+
\fBMonkeySphere\fP is a system to leverage the OpenPGP Web of Trust
for ssh authentication and encryption. OpenPGP keys are tracked via
GnuPG, and added to the ssh authorized_keys and known_hosts files to
be used for authentication and encryption of ssh connection.
\fBmonkeysphere-server\fP is the MonkeySphere server admin utility.
-.PD
+
.SH SUBCOMMANDS
+
\fBmonkeysphere-server\fP takes various subcommands:
.TP
.B update-users [USER]...
`gen-key'.
.TP
.B publish-key
-Publish the host's gpg key to a keyserver. `p' may be used in place
+Publish the host's gpg key to the keyserver. `p' may be used in place
of `publish-key'
.TP
.B trust-keys KEYID...
-Mark key specified with KEYID with full owner trust. `t' may be used
+Mark key specified with key IDs with full owner trust. `t' may be used
in place of `trust-keys'.
.TP
.B update-user-userids USER USERID...
.B help
Output a brief usage summary. `h' or `?' may be used in place of
`help'.
-.PD
+
.SH FILES
-.PD 1
+
.TP
/etc/monkeysphere/monkeysphere-server.conf
System monkeysphere-server config file.
/etc/monkeysphere/authorized_user_ids/USER
Server maintained authorized_user_ids files for users.
.TP
-/var/cachemonkeysphere/USER
+/var/cache/monkeysphere/USER
User keys cache directories.
-.PD
+
.SH AUTHOR
+
Written by Jameson Rollins <jrollins@fifthhorseman.net>
+
.SH SEE ALSO
+
.BR monkeysphere (1),
.BR gpg (1),
.BR ssh (1)
# set key defaults
KEY_TYPE=${KEY_TYPE:-"RSA"}
KEY_LENGTH=${KEY_LENGTH:-"2048"}
- KEY_USAGE=${KEY_USAGE:-"encrypt,auth"}
+ KEY_USAGE=${KEY_USAGE:-"auth,encrypt"}
SERVICE=${SERVICE:-"ssh"}
HOSTNAME_FQDN=${HOSTNAME_FQDN:-$(hostname -f)}