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