SSH Setup and Repair Workflow

Overview

While CloudAIPilot provides a complete UI for orchestration, you maintain full root access to your servers. You can add your personal SSH keys to access the terminal directly.

Adding an SSH Key

  1. Go to the Server detail page and click the Security tab.
  2. Under "SSH Keys", click Add Key.
  3. Paste your public key (e.g., id_ed25519.pub).
  4. Click Deploy Key. CloudAIPilot will securely inject the key into the server's authorized_keys file.

The Repair Workflow (Locked Out?)

If you accidentally edit /etc/ssh/sshd_config and lock yourself out, CloudAIPilot can often rescue the server.

Because CloudAIPilot uses a Post-Quantum Agent Channel (Phase 15.4) that communicates over WebSockets (not SSH), the platform retains control even if the SSH daemon crashes!

  1. Go to the Server Services tab.
  2. Find sshd and click Restart.
  3. If that fails, open the AI Pilot chat and type: *"I broke my SSH config on server X, please restore the default sshd_config."* The AI will use the Agent channel to overwrite the broken file and restart the service autonomously.

Related Articles