SSH key¶
Upload your public SSH key to enable direct SSH access to your PMM Server AMI instance. On other deployment types, the SSH key tab doesn’t appear in Configuration > Settings.

Configure SSH access¶
PMM Server stores a single SSH key. Applying changes on this tab overwrites the whole authorized_keys file, so the key you submit replaces the previously configured one, which can no longer be used to log in. On EC2 instances, this also replaces the key pair the instance was launched with, so the original .pem file stops working for SSH access after you apply a new key.
To configure SSH access:
- Go to Configuration > Settings > SSH key.
- Enter your public key in the SSH key field.
- Click Apply changes.
For more information on AMI deployments, see Deploy PMM Server on AWS.
Keep a session open while you test
PMM won’t warn you if you apply a key whose private key you don’t have. Applying a new key doesn’t disconnect active connections, so you can verify access before closing the old session.
Connect via SSH¶
Once your public key is configured, connect using the admin user:
ssh -i your-private-key admin@<pmm-server-ip>
ssh -i ~/keys/my-aws-key.pem [email protected]
If your private key is in the default location (~/.ssh/id_rsa or ~/.ssh/id_ed25519), you can omit the -i flag:
ssh admin@<pmm-server-ip>