Live data from Hacker News

Ask HN: How do you manage SSH keys and SSL certificates in your company?

news.ycombinator.com

1–10 of 114 posts

Re: Ask HN: How do you manage SSH keys and SSL certificates in your company?

#3
We use Ansible to deploy/manage peoples' SSH keys on our servers. From their laptop or a jumpbox (within the management VLAN) with their personal key (and a passphrase!) they are able to login in to all those servers. So logins are personal (as opposed to shared accounts which have to be updated when people leave). Now when new people arrive or when people leave we just run an Ansible playbook and all our 400+ servers are updated.

Re: Ask HN: How do you manage SSH keys and SSL certificates in your company?

#5
At my previous company, we used Puppet to distribute both. SSH public keys were part of a developer's intranet profile, and SSL certificates were managed on a central repo.

Updates to either would be passed on to Puppet and distributed automatically across 1400 machines.

(Edit for typo)

Re: Ask HN: How do you manage SSH keys and SSL certificates in your company?

#7
post #2

My company Foxpass (YC S15) has a product to manage SSH keys. It serves as access control too -- the keys are only available on the hosts where a user should have access. https://www.foxpass.com/

We've been using Foxpass for more than a year now and can definitely recommend. We have Amazon Machine Images with the required packages installed and configured; we use the web interface to grant/revoke access to users and add SSH keys. So each user logs in as themselves.

Aren has been awesome with responding to emails and helping us set it up too.

Re: Ask HN: How do you manage SSH keys and SSL certificates in your company?

#9
We use Yubikeys as GPG smartcards, and use them for gpg-agent as ssh keys.

Everyone puts their hsm keys on their github account (and removes all others).

We fetch the keys for each user from github on system init. e.g.

https://github.com/sneak.keys

When we need to add/remove people, we just update the list of usernames in the script that fetches keys, and then kill off instances one at a time to force a redeploy.

Re: Ask HN: How do you manage SSH keys and SSL certificates in your company?

#10
We use CFengine 3 to manage personal accounts and ssh keys on servers. As CFengine continuously checks and converges configuration, if someone set bad permissions on their ssh file or remove the authorization it is automatically corrected before five minutes have elapsed.
Post reply on HN