How-To: Add EZSSH Access to Endpoints
Overview - How to Add EZSSH Access to Your SSH Endpoints
EZSSH uses SSH certificates to authenticate to your endpoints. Since SSH certificates are a native OpenSSH feature, no agent or custom code has to run on your endpoints. Each endpoint only needs to trust the SSH Certificate Authority (CA) of your EZSSH policy, which is done by adding the CA to its TrustedUserCAKeys.
EZSSH generates the setup script for you. All you have to choose is how to run it.
Which Method Should I Use to Add EZSSH to My Endpoints?
| Your Situation | Method | Guide |
|---|---|---|
| You are creating new cloud VMs | cloud-init | Add EZSSH access with cloud-init |
| You have existing endpoints | Bash script | Add EZSSH access with a bash script |
| You deploy with infrastructure as code | Pulumi with cloud-init | Add EZSSH access with Pulumi |
If your Azure Policy has Automatically Add The Principals to the Subscription enabled, EZSSH already sets up your Azure VMs for you and you can skip this section. Learn more about how EZSSH adds the certificate to Azure VMs.