4 ms·
What's the advantage to this over setting up an SSH CA? https://code.facebook.com/posts/365787980419535/scalable-and-secure-access-with-ssh/ https://code.faceb
by tptacek 9y ago
What's the advantage to this over setting up an SSH CA?
https://code.facebook.com/posts/365787980419535/scalable-and-secure-access-with-ssh/ https://code.facebook.com/posts/365787980419535/scalable-and...
If you're in AWS, you can also look at Bless, which is Lambda-hosted and mints short-lived certificates with a command-line client:
https://github.com/Netflix/bless https://github.com/Netflix/bless
- toomuchtodo 9y agoIf you’re in AWS, wouldn’t SSM agents on instances be preferable to SSH access? That provides for both access control (IAM for user access, SSM documents for constraining command execution authority) and auditing/logging of executed commands (CloudTrail). This does not work for interactive terminal use cases, but does work (in my experience) if you’re targeting immutable instances. It also has the lovely side effect that you can create scheduled tasks within the AWS control plane (if that’s your cup of tea). Example SSM client: https://github.com/itsdalmo/ssm-sh https://github.com/itsdalmo/ssm-sh Disclaimer: I’m implementing this in a large enterprise environment.