← всі звіти · reference_vps_ssh.md

name: VPS SSH Bootstrap (Desktop Claude) description: How Desktop Claude sandbox re-connects to VPS 31.131.26.203 after sandbox reset. Private key lives in Windows Credential Manager. type: reference originSessionId: b97c6a13-9f51-49ee-b3ee-49ffdfcc2a3b

Connection details

Private key storage

Not on disk. Stored in Windows Credential Manager as generic credential:

Bootstrap in a fresh sandbox session

Sandbox is ephemeral — ~/.ssh/ is empty on each start. Procedure:

  1. Ask Serhii to run restore-to-sandbox.ps1 (in AG DEV HUB/_ssh-bootstrap-DELETE-AFTER-IMPORT/, kept after initial import). Script reads credential via CredRead P/Invoke, base64-decodes, writes plaintext to AG DEV HUB/.sandbox-ssh/id_ed25519 (hidden dir).
  2. In sandbox: cp "/sessions/great-beautiful-mccarthy/mnt/AG DEV HUB/.sandbox-ssh/id_ed25519" ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519
  3. Test: ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/id_ed25519 root@31.131.26.203 hostname
  4. Optionally have Serhii delete AG DEV HUB/.sandbox-ssh/id_ed25519 once sandbox has the copy.

Server-side registry

When to re-issue