Skip to main content

Granting Support Access

Run any of these commands directly:

CommandDescription
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- addInstall support key
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- removeRemove support key
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- checkCheck if key exists
curl -sSL https://packages.hypervisor.io/tools/hv_support.sh | bash -s -- backupBackup authorized_keys

How It Works

  1. No Local Script Needed – Runs directly from Hypervisor’s secure CDN.
  2. Security – Still verifies checksums and creates backups.
  3. 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