Granting Support Access
Run any of these commands directly:
Command | Description |
---|---|
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- add | Install support key |
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- remove | Remove support key |
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- check | Check if key exists |
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- backup | Backup authorized_keys |
How It Works
- No Local Script Needed – Runs directly from Hypervisor’s secure CDN.
- Security – Still verifies checksums and creates backups.
- Ephemeral Execution – No leftover files after completion.
Full Documentation
1. Grant Temporary Support Access
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- add
What Happens?
- Downloads and verifies the key via HTTPS
- Adds to
~/.ssh/authorized_keys
- Outputs success/failure
2. Revoke Support Access
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- remove
Guarantees:
- Creates a backup first
- Removes only Hypervisor’s key
- Preserves all other SSH keys
3. Check Current Status
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- check
Outputs:
- 🟢
Hypervisor support key IS installed
- 🟡
Hypervisor support key NOT installed
4. Manual Backup
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- backup
Backup Location:
~/.ssh/hypervisor_backups/authorized_keys_YYYYMMDD_HHMMSS
Why This Is Safe
- HTTPS-Only – No unencrypted transfers.
- Checksum Verification – Key validated via SHA-256.
- No Persistence – Script evaporates after running.
Troubleshooting
Permission Issues?
chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys
Still Problems?
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- help
Best Practices
Always remove
after troubleshooting
Audit backups in ~/.ssh/hypervisor_backups/
Prefer check
before manual edits