~/.ssh/config
Host claude-dev HostName dev.example.com User developer Port 22 IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yes ServerAliveInterval 30 ServerAliveCountMax 3
Build one reviewable OpenSSH alias and the matching Claude Desktop connection. Test the alias first, then use Anthropic’s Code tab as the interface for a Linux or macOS machine you already control.
This creates a local alias. It does not test the host, open a network connection, or modify files.
Host claude-dev HostName dev.example.com User developer Port 22 IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yes ServerAliveInterval 30 ServerAliveCountMax 3
ssh claude-dev
{
"sshConfigs": [
{
"id": "claude-dev",
"name": "Development server",
"sshHost": "claude-dev",
"startDirectory": "~/projects"
}
]
}Merge the JSON—do not overwrite existing Claude settings. Prefer the Desktop dialog when you do not need a checked-in or centrally managed connection list.
Append the host block to ~/.ssh/config, confirm the identity-file
permissions, then run ssh claude-dev.
In Claude Desktop’s Code tab, open the environment dropdown and choose + Add SSH connection. Use claude-dev as SSH Host.
Select the connection, open the project directory, and start with Manual or Plan permissions while you verify the remote environment.
Claude Desktop still needs somewhere to run. Pick the smallest option that matches the work instead of buying infrastructure by default.
Keep the machine patched and reachable, and let its existing SSH policy do the work.
Generate the connection →Anthropic says Cloud sessions continue after the app closes and carry no separate compute charge beyond plan usage.
Check current availability →Keep processes and tmux alive from €6/month. Terminalbox is not currently an inbound Claude Desktop SSH target.
Compare the browser-terminal plans →Terminalbox cannot provide that SSH endpoint today. Tell the founder you need it; this request is the signal we will use before building and security-reviewing an inbound SSH gateway.
Anthropic currently documents SSH sessions for remote Linux and macOS machines. The machine must be reachable over SSH with credentials available on the computer running Claude Desktop.
Anthropic says Desktop installs Claude Code automatically on the first connection. The remote account still needs permission to install and run the required software.
No. The generator runs in your browser. It never asks for a private key value—only the local path that OpenSSH should use.
Do not overwrite an existing settings file. Merge the generated sshConfigs entry into ~/.claude/settings.json, or use the Desktop dialog and the generated SSH alias instead.
No. Terminalbox currently supports its browser terminal and Terminalbox CLI for inbound attachment. Its SSH template is an outbound client for reaching a server you already control.