summaryrefslogtreecommitdiff
path: root/man/man8/monkeysphere-server.8
blob: 2b5af5ec574f936bdcc4359808f227c7c1ccb6cb (plain)
  1. .TH MONKEYSPHERE-SERVER "1" "June 2008" "monkeysphere 0.1" "User Commands"
  2. .SH NAME
  3. monkeysphere-server \- monkeysphere server admin user interface
  4. .SH SYNOPSIS
  5. .B monkeysphere-server \fIcommand\fP [\fIargs\fP]
  6. .SH DESCRIPTION
  7. \fBMonkeySphere\fP is a system to leverage the OpenPGP Web of Trust
  8. for ssh authentication and encryption. OpenPGP keys are tracked via
  9. GnuPG, and added to the ssh authorized_keys and known_hosts files to
  10. be used for authentication of ssh connections.
  11. \fBmonkeysphere-server\fP is the MonkeySphere server admin utility.
  12. .SH SUBCOMMANDS
  13. \fBmonkeysphere-server\fP takes various subcommands:
  14. .TP
  15. .B update-users [USER]...
  16. Update the admin-controlled authorized_keys files for user. For each
  17. user specified, user ID's listed in the user's authorized_user_ids
  18. file are processed, and the user's authorized_keys file in
  19. /var/cache/monkeysphere/authorized_keys/USER. See `man monkeysphere'
  20. for more info. If the USER_CONTROLLED_AUTHORIZED_KEYS variable is
  21. set, then a user-controlled authorized_keys file (usually
  22. ~USER/.ssh/authorized_keys) is added to the authorized_keys file. `k'
  23. may be used in place of `update-known_hosts'.
  24. .TP
  25. .B gen-key
  26. Generate a gpg key for the host. `g' may be used in place of
  27. `gen-key'.
  28. .TP
  29. .B show-fingerprint
  30. Show the fingerprint for the host's OpenPGP key. `f' may be used in place of
  31. `show-fingerprint'.
  32. .TP
  33. .B publish-key
  34. Publish the host's gpg key to the keyserver. `p' may be used in place
  35. of `publish-key'.
  36. .TP
  37. .B trust-keys KEYID...
  38. Mark key specified with key IDs with full owner trust. `t' may be used
  39. in place of `trust-keys'.
  40. .TP
  41. .B help
  42. Output a brief usage summary. `h' or `?' may be used in place of
  43. `help'.
  44. .SH SETUP
  45. In order to start using the monkeysphere, there are a couple of things
  46. you need to do first. The first is to generate an OpenPGP key for the
  47. server and convert that key to an ssh key that can be used by ssh for
  48. host authentication. To do this, run the "gen-key" subcommand. Once
  49. that is done, publish the key to a keyserver with "publish-key"
  50. subcommand. Finally, you need to modify the sshd_config to tell sshd
  51. where the new server host key:
  52. HostKey /etc/monkeysphere/ssh_host_rsa_key
  53. If the server will also handle user authentication through
  54. monkeysphere-generated authorized_keys files, set the following:
  55. AuthorizedKeysFile /var/cache/monkeysphere/authorized_keys/%u
  56. Once those changes are made, restart the ssh server.
  57. .SH FILES
  58. .TP
  59. /etc/monkeysphere/monkeysphere-server.conf
  60. System monkeysphere-server config file.
  61. .TP
  62. /etc/monkeysphere/monkeysphere.conf
  63. System-wide monkeysphere config file.
  64. .TP
  65. /etc/monkeysphere/gnupg
  66. Monkeysphere GNUPG home directory.
  67. .TP
  68. /etc/monkeysphere/ssh_host_rsa_key
  69. Copy of the host's private key in ssh format, suitable for use by sshd.
  70. .TP
  71. /etc/monkeysphere/authorized_user_ids/USER
  72. Server maintained authorized_user_ids files for users.
  73. .TP
  74. /var/cache/monkeysphere/authorized_keys/USER
  75. User authorized_keys file.
  76. .SH AUTHOR
  77. Written by Jameson Rollins <jrollins@fifthhorseman.net>
  78. .SH SEE ALSO
  79. .BR monkeysphere (1),
  80. .BR gpg (1),
  81. .BR ssh (1)