Before connecting
You need a Computer you own, a current entitlement that permits running it, a Running state, a local OpenSSH client, and a key pair. SSH does not create or start a Computer for you. Run these commands on your local computer:.pub is public. The file without that suffix is private and stays on your local computer.
View the public key:
ssh-ed25519. Never paste a file beginning with a private-key header.
Authorize the public key
In the Console, select your Computer and open Connect → Add public key. Enter the complete public-key line in Public key, optionally fill in Label (optional), and choose Save key. The SSH public keys list shows each authorized key’s fingerprint and offers Remove to revoke it. For an Agent or integration, the equivalent operation is:Obtain the endpoint
In the same Connect tab, choose Get SSH command. Use Copy under Run in your local shell to copy the displayed command. The SDK equivalent, using the client above, is:<SSH_HOST>, <SSH_PORT>, and <SSH_USER> with the endpoint response. -i selects your local private key. IdentitiesOnly=yes prevents unrelated keys in your agent from being tried.
Understand the first host-key prompt
Your SSH public key proves your identity to the Computer. The server’s host key helps your SSH client recognize the Computer. They are different keys. OpenSSH may ask you to trust the server on first connection. Obtain the endpoint through your authenticated Console or API; compare the fingerprint with a separately trusted value when one is available. The current endpoint response contains host, port, and user, but does not supply an independently authenticated host-key fingerprint. Treat first-use acceptance as first-use trust, not cryptographic verification provided by Deepest.Confirm where you are
After connecting, run:Linux, the remote user identity, a Guest directory, and the message. Your local prompt returns when you run exit.
For a remote command without an interactive session:
Keep a convenient SSH configuration
Add an entry to your local~/.ssh/config after replacing the placeholders:
ssh deepest-work. The alias is your local convenience; it creates no Deepest object. HostKeyAlias lets your client associate the host key with the stable Computer ID rather than a replaceable endpoint. Use a different alias for each Computer and confirm first-use trust when introducing it.
Fetch the current endpoint again after a refused connection or platform reconnect. Endpoint host/port values are connection details and can change. Updating them in this entry does not change the Computer’s identity or disk.
Stop, reconnect, and revoke
To revoke with the SDK:
UNKNOWN, list the Computer’s keys before another change.
Respond to an exposed private key
Treat an exposed private key as a credential that needs replacement, not as a problem solved by renaming its label.- Work from a trusted local device and your authenticated Console or control client. Generate a new key pair with a new filename; keep the new private key on that local device.
- Authorize only the new public key on each Computer that still needs this client’s access. Test a new connection using that new key and the current endpoint.
- List the affected Computers’ authorized keys and revoke the old key’s exact fingerprint on every Computer where it was granted. A grant is per Computer; replacing it on one does not revoke it elsewhere.
- Check a fresh connection using the old key and confirm that new access is refused. Existing SSH shells, SFTP sessions and tunnels may still be alive: if containment requires ending them, identify and terminate the affected Guest sessions, or explicitly Stop the Computer after considering its running work.
- Inspect any Computer that may have been accessed. Review affected files and third-party credentials, rotate exposed provider credentials through their own service, and preserve needed evidence. A replacement SSH key does not remove files an intruder may have changed or clear an already established third-party session.
Troubleshoot the symptom
SSH processes and the applications they launch use the Computer’s memory, the Account’s shared CPU, and its storage. See Account resources. Stop work you no longer need; closing the SSH client alone is not a resource-release operation.