Best Practices for Setting Up a Bastion Host

0
8
Asked By TechieWanderer42 On

I'm managing a bastion setup with about 25 boxes and a jumphost. Each user has their own SSH key, which can get complicated. What are some strategies you use to streamline key management? I'm concerned about the security risks of managing individual keys and I want to know how I can handle things like key rotation every three months or revoking access when someone leaves. Any tips or tools you recommend for this situation?

5 Answers

Answered By NerdyNomad On

I personally use Termix across different environments, and it really simplifies managing SSH connections.

Answered By DevOpsGuy88 On

We automate user management with Ansible too. If someone leaves, I just set their key to 'absent'. We typically rotate keys only when there’s a security issue or for specific needs like integrating Yubikeys. Can you share what issues you are hitting that make this feel like a pain point for you?

Answered By FuzzyLogic27 On

Automation is definitely the way to go! Using Ansible allows you to easily manage key rotation and revocations. For just 25 users, off-the-shelf tools might feel overkill unless you have specific compliance needs. Also, consider implementing Multi-Factor Authentication (MFA) on your bastion host to enhance security; it’s not as complicated as it sounds, even with SSH.

Answered By OpenSoulSearch On
Answered By KeyMaster99 On

Managing all those keys and accounts manually can be a hassle. One approach is to keep all 25 keys and accounts but manage them with automation tools like Puppet or Ansible. This can simplify the process significantly.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.