ssh_test_identity
Prove key-only SSH login on a session VM with a session-scoped identity the platform provisions.
The owner's requirement is sshd's policy -- public keys accepted, passwords
and root refused -- not one particular key, and a verification cannot wait
for the owner's own key: headless-pentest-debian (ae4fb901, 2026-10-20)
parked for it with 41 of 45 checks passing. This is the one sanctioned change
to a session VM: the platform generates an ed25519 key in the VM's tmpfs,
authorizes it for user, and probes over loopback -- key login (a shell as
the user), password login with keys disabled (refused), root login (refused)
-- and reads sshd's effective settings. The key never enters the image; the
disposable VM is the only place it exists. Record the returned facts in a
verification step bound to the owner's SSH checks, with the same probes shown
in a terminal frame when a claim's rule is evidence.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vm_name": "<vm_name>",
"user": "<user>"
},
"name": "ssh_test_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | The login user whose key-only SSH access the owner asked for. | |
| api_key | No | OpenFactory MCP API key (registered callers). | |
| vm_name | Yes | The of-test-* session VM that booted your image: the vm_name returned by resume_test_environment, or vms[].vm_name / environment.snapshot.vm_name from get_test_results. | |
| session_token | No | Guest session token from a previous response (anonymous callers). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||