{"record":{"id":"37107248779c7071","repo":"paperclipai/paperclip","slug":"ssh-env-lab-fixture-is-unavailable-support-reas","errorCode":null,"errorMessage":"SSH env-lab fixture is unavailable: ${support.reason}","messagePattern":"SSH env-lab fixture is unavailable: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/adapter-utils/src/ssh.ts","lineNumber":1751,"sourceCode":"  return true;\n}\n\nexport async function startSshEnvLabFixture(input: {\n  statePath: string;\n  bindHost?: string;\n  host?: string;\n}): Promise<SshEnvLabFixtureState> {\n  const existing = await readSshEnvLabFixtureState(input.statePath);\n  if (existing && await isSshEnvLabFixtureProcess(existing)) {\n    return existing;\n  }\n  if (existing) {\n    await fs.rm(existing.rootDir, { recursive: true, force: true }).catch(() => undefined);\n  }\n\n  const support = await getSshEnvLabSupport();\n  if (!support.supported) {\n    throw new Error(`SSH env-lab fixture is unavailable: ${support.reason}`);\n  }\n  const sshdPath = await resolveCommandPath(\"sshd\");\n  if (!sshdPath) {\n    throw new Error(\"SSH env-lab fixture is unavailable: missing required command: sshd\");\n  }\n\n  const bindHost = input.bindHost ?? \"127.0.0.1\";\n  const host = input.host ?? bindHost;\n  const rootDir = path.dirname(input.statePath);\n  await fs.mkdir(rootDir, { recursive: true });\n\n  const username = os.userInfo().username;\n  const port = await allocateLoopbackPort(bindHost);\n  const workspaceDir = path.join(rootDir, \"workspace\");\n  const clientPrivateKeyPath = path.join(rootDir, \"client_key\");\n  const clientPublicKeyPath = `${clientPrivateKeyPath}.pub`;\n  const hostPrivateKeyPath = path.join(rootDir, \"host_key\");\n  const hostPublicKeyPath = `${hostPrivateKeyPath}.pub`;","sourceCodeStart":1733,"sourceCodeEnd":1769,"githubUrl":"https://github.com/paperclipai/paperclip/blob/120ae5428fa29bee300bcf806491cd4d965fbb7c/packages/adapter-utils/src/ssh.ts#L1733-L1769","documentation":"Error \"SSH env-lab fixture is unavailable: ${support.reason}\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at packages/adapter-utils/src/ssh.ts:1751 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the reported reason (missing support) to enable the SSH env-lab fixture."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"120ae5428fa29bee300bcf806491cd4d965fbb7c","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}