Skip to content

do3cc/monkeysphere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monkeysphere

This role installs and configures Monkeysphere on a server. With Monkeysphere, you use the PGP Public Key Infrastructure to distribute your public ssh keys and to trust servers without previous connections just because the servers key has been signed by somebody you trust. For more information, see Monkeysphere.

Note: If you plan to publish your ssh server key to the PGP Public Key Infrastructure, Ansible won't run fully automatic on its first run. At one moment, Ansible will pause and ask you to sign the newly uploaded key with your key. This only happens once.

Note: After running this this, you can only log in via ssh keys distributed by monkeysphere.

Note: As you are changing your ssh server configuration with this role, there is a slight chance that something goes wrong and you won't be able to access the server via ssh any longer. Be prepared for that case.

This role has only been testet with Ubuntu 13.10. and 12.04. For older releases and Debian I have only checked that the packages exist.

According the the Monkeysphere website, monkeysphere packages exist for

  • FreeBSD
  • Slackware
  • Redhat Fedora
  • ArchLinux
  • Gentoo

It might be, that this role works on these distributions without changes.

Requirements

You should be a bit familiar with Monkeysphere. Everybody who wants to access the server has to do some preparations on their own computer. What needs to be done is well explained on the Monkeysphere Site. Your users should have created a file

~/.monkeysphere/authorized_user_ids 

with their user ids before this role is run. SSH Keys are updated daily via a cronjob and on the initial run. Therefor it would be good if the users and their authorized_user_ids file already exist.

Role Variables

You must declare your certifiers fingerprints, else no key will be trusted. The variable name is named monkeysphere_certifiers_fingerprints. See the Monkeysphere on details about the fingerprint. By default, this role will not upload you servers ssh key to a Keyserver. If you want to upload your servers ssh key, define monkeysphere_publish_hostkey as True:

- {role: do3cc.monkeysphere, monkeysphere_certifiers_fingerprints: ["47CE085311CEC1E1EE4FA99DDA9ED7C1671A13DE"], monkeysphere_publish_hostkey: True}

Dependencies

There are no dependencies.

License

BSD

About

Ansible role for monkeysphere

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published