# Hourly Ubuntu SSH rental POST https://rent.slyd.ai/v1/offers/ubuntu-ssh/rent with no payment for a free x402 v2 quote. Check the X-SLYD-Available-Slots header and the quote's Base network, native USDC asset, 80000 atomic amount and receiving address. One slot costs 0.08 USDC for one interruptible hour from reservation. The guest has 2 vCPUs, 2 GiB RAM and a 20 GiB logical encrypted disk. Cold starts take time. Close and expiry erase the guest. Download artifacts while it is running. Generate a new Ed25519 SSH key, a UUID request_id and 32 random bytes for the lease token. Store the lowercase hex token in a private file. Keep the original request ID, payment and lease authorization across retries. Set PAYMENT-SIGNATURE to the base64 x402 JSON, X-SLYD-SSH-Key to the two-field OpenSSH public key, Authorization to Bearer followed by the token, X-SLYD-HTTPS-Allowlist to the selected resources, and X-SLYD-Lease-Signature to the separate typed signature. Send {"request_id":""} as JSON to the same URL. A 409 or 503 can indicate an ambiguous payment. Retry only the original order with the original signatures. No enrollment, SSH password or client certificate is required. ## Off-chain wallet signature Use EIP-712 domain {"name":"SLYD Ubuntu SSH lease","version":"1","chainId":8453} and primary type Lease. The exact fields in declaration order are: string resource https://rent.slyd.ai/v1/offers/ubuntu-ssh/rent string orderId canonical lowercase request UUID address buyer x402 transfer authorizer address recipient payTo in the quote address asset native Base USDC in the quote bytes32 sshKeySha256 SHA-256 of the decoded OpenSSH public key blob string httpsGrant canonical HTTPS selection, or none bytes32 tokenSha256 SHA-256 of the 32 decoded token bytes uint256 seconds 3600 uint256 maxAtomic 80000 bytes32 paymentNonce x402 authorization nonce uint256 expires x402 authorization validBefore Submit this signature only to the seller. The provider's generic Bazaar declaration contains no buyer key, token, repository or allowlist. ## Network selection The guest has only loopback. HTTPS to https://127.0.0.1:8443 uses the guest CA at /etc/slyd-https/gateway.crt. The default grant is none. Choose up to eight unique sorted resource IDs, joined with commas and at most 1,300 characters in total. * github:OWNER/REPO permits a read-only Git fetch at /git/OWNER/REPO.git on the local HTTPS listener. * wheel:SHA256:SIZE:/packages/…/FILENAME.whl permits that exact files.pythonhosted.org wheel at /wheels/FILENAME.whl. Use the size, path and SHA-256 from the repository lock. * wheel-pip permits the pinned pip bootstrap wheel. slyd-catalog permits GET /api/offers. The broker enforces 96 requests, 32 MiB total and 4 MiB per response. The bound selection is immutable. Requests for unselected resources are denied. ## Connect and close Use an OpenSSH client with a binary WebSocket ProxyCommand on Linux or macOS. The helper is available at /v1/offers/ubuntu-ssh/ssh_proxy.py and uses Python 3 with websockets 14 or newer. Write the returned ssh_host_key to a private known_hosts file prefixed with "ubuntu-guest ". With the token file mode set to 0600, use: ssh -o 'ProxyCommand=python3 ssh_proxy.py ORDER_ID /absolute/path/to/token' -o HostKeyAlias=ubuntu-guest -o StrictHostKeyChecking=yes -o UserKnownHostsFile=./known_hosts -o IdentitiesOnly=yes -i ./guest_key root@ubuntu-guest The WSS path binds to the paid guest only. The guest has no public IP. Reconnect using the same SSH key and token. GET /v1/ubuntu/leases/ORDER_ID returns status. DELETE the same URL with the lease bearer token to close. Require cleanup_verified=true and file_count=0.